repia 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,2727 +1,1783 @@
1
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
1
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2
2
   (0.1ms) begin transaction
3
- ------------------------------------------------------
4
- DummiesControllerTest: test_options_request_is_handled
5
- ------------------------------------------------------
6
- Processing by DummiesController#options as HTML
7
- Rendered text template (0.0ms)
8
- Completed 200 OK in 8ms (Views: 7.9ms | ActiveRecord: 0.0ms)
9
- Processing by DummiesController#options as HTML
10
- Rendered text template (0.0ms)
11
- Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
12
-  (0.1ms) rollback transaction
13
-  (0.0ms) begin transaction
14
- --------------------------------------------------
15
- DummiesControllerTest: test_render_multiple_errors
16
- --------------------------------------------------
17
- Processing by DummiesController#index as HTML
18
- Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
3
+ ----------------------------------------------------------------------------------------
4
+ RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
5
+ ----------------------------------------------------------------------------------------
19
6
   (0.0ms) rollback transaction
20
7
   (0.0ms) begin transaction
21
- -------------------------------------------------
22
- DummiesControllerTest: test_handle_standard_error
23
- -------------------------------------------------
24
- Processing by DummiesController#create as HTML
25
- String can't be coerced into Fixnum
26
- Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8
+ ----------------------------------------------------------------------------------
9
+ RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
10
+ ----------------------------------------------------------------------------------
11
+ ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007f824d4558b8>, "rack.errors"=>#<StringIO:0x007f824d455d90>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
27
12
   (0.0ms) rollback transaction
28
13
   (0.0ms) begin transaction
29
- ---------------------------------------------------------------
30
- DummiesControllerTest: test_Predefined_errors_should_be_handled
31
- ---------------------------------------------------------------
32
- Processing by DummiesController#show as HTML
14
+ -----------------------------------------------------------------------
15
+ RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
16
+ -----------------------------------------------------------------------
17
+  (0.0ms) SAVEPOINT active_record_1
18
+ SQL (0.7ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-07-10 22:09:29.316829"], ["updated_at", "2016-07-10 22:09:29.316829"], ["uuid", "f8e113a8-46ea-11e6-91df-9801a78f6ec1"]]
19
+  (0.0ms) RELEASE SAVEPOINT active_record_1
20
+  (0.4ms) rollback transaction
21
+  (0.0ms) begin transaction
22
+ -------------------------------------------------------------
23
+ TestsControllerTest: test_Predefined_errors_should_be_handled
24
+ -------------------------------------------------------------
25
+ Processing by TestsController#show as HTML
33
26
  Parameters: {"id"=>"400"}
34
27
  400 - Repia::Errors::BadRequest
35
- Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
36
- Processing by DummiesController#show as HTML
28
+ Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
29
+ Processing by TestsController#show as HTML
37
30
  Parameters: {"id"=>"401"}
38
31
  401 - Repia::Errors::Unauthorized
39
32
  Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
40
- Processing by DummiesController#show as HTML
33
+ Processing by TestsController#show as HTML
41
34
  Parameters: {"id"=>"404"}
42
35
  404 - Repia::Errors::NotFound
43
36
  Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
44
- Processing by DummiesController#show as HTML
37
+ Processing by TestsController#show as HTML
45
38
  Parameters: {"id"=>"409"}
46
39
  409 - Repia::Errors::Conflict
47
40
  Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
48
- Processing by DummiesController#show as HTML
41
+ Processing by TestsController#show as HTML
49
42
  Parameters: {"id"=>"500"}
50
43
  500 - Repia::Errors::InternalServerError
51
44
  Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
52
-  (0.0ms) rollback transaction
53
-  (0.0ms) begin transaction
54
- ------------------------------------------------------------
55
- RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
56
- ------------------------------------------------------------
57
-  (0.1ms) SAVEPOINT active_record_1
58
- SQL (0.7ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-04-27 00:50:50.676017"], ["updated_at", "2016-04-27 00:50:50.676017"], ["uuid", "16700686-0c12-11e6-aeed-6c4008a6fa2a"]]
59
-  (0.1ms) RELEASE SAVEPOINT active_record_1
60
-  (0.6ms) rollback transaction
61
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
62
-  (0.1ms) begin transaction
63
- -------------------------------------------------
64
- DummiesControllerTest: test_handle_standard_error
65
- -------------------------------------------------
66
- Processing by DummiesController#create as HTML
67
- String can't be coerced into Fixnum
68
- Completed 500 Internal Server Error in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
69
-  (0.1ms) rollback transaction
70
-  (0.0ms) begin transaction
71
- ------------------------------------------------------
72
- DummiesControllerTest: test_options_request_is_handled
73
- ------------------------------------------------------
74
- Processing by DummiesController#options as HTML
45
+  (0.1ms) rollback transaction
46
+  (0.0ms) begin transaction
47
+ -----------------------------------------------
48
+ TestsControllerTest: test_handle_standard_error
49
+ -----------------------------------------------
50
+ Processing by TestsController#index as HTML
51
+ StandardError
52
+ Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
53
+  (0.1ms) rollback transaction
54
+  (0.0ms) begin transaction
55
+ ----------------------------------------------------
56
+ TestsControllerTest: test_options_request_is_handled
57
+ ----------------------------------------------------
58
+ Processing by TestsController#options as HTML
75
59
  Rendered text template (0.0ms)
76
- Completed 200 OK in 4ms (Views: 4.2ms | ActiveRecord: 0.0ms)
77
- Processing by DummiesController#options as HTML
60
+ Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)
61
+ Processing by TestsController#options as HTML
78
62
  Rendered text template (0.0ms)
79
- Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
63
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
64
+  (0.1ms) rollback transaction
65
+  (0.1ms) begin transaction
66
+ ----------------------------------------------------------------
67
+ TestsControllerTest: test_find_object_will_find_object_if_exists
68
+ ----------------------------------------------------------------
69
+  (0.1ms) SAVEPOINT active_record_1
70
+ SQL (0.3ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-07-10 22:09:29.360728"], ["updated_at", "2016-07-10 22:09:29.360728"], ["uuid", "f8e7f042-46ea-11e6-91df-9801a78f6ec1"]]
71
+  (0.1ms) RELEASE SAVEPOINT active_record_1
72
+ Processing by TestsController#show as HTML
73
+ Parameters: {"id"=>"f8e7f042-46ea-11e6-91df-9801a78f6ec1"}
74
+ Attempting to get UniqueModel f8e7f042-46ea-11e6-91df-9801a78f6ec1
75
+ UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT 1 [["uuid", "f8e7f042-46ea-11e6-91df-9801a78f6ec1"]]
76
+ Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.1ms)
77
+  (1.9ms) rollback transaction
78
+  (0.1ms) begin transaction
79
+ -------------------------------------------------------------------------
80
+ TestsControllerTest: test_find_object_will_error_if_object_does_not_exist
81
+ -------------------------------------------------------------------------
82
+ Processing by TestsController#show as HTML
83
+ Parameters: {"id"=>"blah"}
84
+ Attempting to get UniqueModel blah
85
+ UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT 1 [["uuid", "blah"]]
86
+ 404 - UniqueModel blah cannot be found
87
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
80
88
   (0.1ms) rollback transaction
81
89
   (0.0ms) begin transaction
82
- ---------------------------------------------------------------
83
- DummiesControllerTest: test_Predefined_errors_should_be_handled
84
- ---------------------------------------------------------------
85
- Processing by DummiesController#show as HTML
90
+ ------------------------------------------------
91
+ TestsControllerTest: test_render_multiple_errors
92
+ ------------------------------------------------
93
+ Processing by TestsController#index as HTML
94
+ Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
95
+  (0.0ms) rollback transaction
96
+  (0.0ms) begin transaction
97
+ ----------------------------------------
98
+ TestsControllerTest: test_exceptions_app
99
+ ----------------------------------------
100
+ Processing by TestsController#show as HTML
101
+ Parameters: {"id"=>"blah"}
102
+ Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
103
+  (0.0ms) rollback transaction
104
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
105
+  (0.1ms) begin transaction
106
+ ----------------------------------------------------------------------------------------
107
+ RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
108
+ ----------------------------------------------------------------------------------------
109
+  (0.0ms) rollback transaction
110
+  (0.0ms) begin transaction
111
+ ----------------------------------------------------------------------------------
112
+ RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
113
+ ----------------------------------------------------------------------------------
114
+ ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007fc32ce5e830>, "rack.errors"=>#<StringIO:0x007fc32ce5e8a8>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
115
+  (0.0ms) rollback transaction
116
+  (0.0ms) begin transaction
117
+ -----------------------------------------------------------------------
118
+ RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
119
+ -----------------------------------------------------------------------
120
+  (0.1ms) SAVEPOINT active_record_1
121
+ SQL (1.1ms) INSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?) [["uuid", "e4eb81fc-a564-11e6-9a54-9801a78f6ec1"], ["created_at", 2016-11-08 03:39:03 UTC], ["updated_at", 2016-11-08 03:39:03 UTC]]
122
+  (0.0ms) RELEASE SAVEPOINT active_record_1
123
+  (0.3ms) rollback transaction
124
+  (0.1ms) begin transaction
125
+ -----------------------------------------------
126
+ TestsControllerTest: test_handle_standard_error
127
+ -----------------------------------------------
128
+ Processing by TestsController#index as HTML
129
+ StandardError
130
+ Completed 500 Internal Server Error in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
131
+  (0.0ms) rollback transaction
132
+  (0.0ms) begin transaction
133
+ -------------------------------------------------------------
134
+ TestsControllerTest: test_Predefined_errors_should_be_handled
135
+ -------------------------------------------------------------
136
+ Processing by TestsController#show as HTML
86
137
  Parameters: {"id"=>"400"}
87
138
  400 - Repia::Errors::BadRequest
88
- Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
89
- Processing by DummiesController#show as HTML
139
+ Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
140
+ Processing by TestsController#show as HTML
90
141
  Parameters: {"id"=>"401"}
91
142
  401 - Repia::Errors::Unauthorized
92
143
  Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
93
- Processing by DummiesController#show as HTML
144
+ Processing by TestsController#show as HTML
94
145
  Parameters: {"id"=>"404"}
95
146
  404 - Repia::Errors::NotFound
96
- Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
97
- Processing by DummiesController#show as HTML
147
+ Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
148
+ Processing by TestsController#show as HTML
98
149
  Parameters: {"id"=>"409"}
99
150
  409 - Repia::Errors::Conflict
100
- Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
101
- Processing by DummiesController#show as HTML
151
+ Completed 409 Conflict in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
152
+ Processing by TestsController#show as HTML
102
153
  Parameters: {"id"=>"500"}
103
154
  500 - Repia::Errors::InternalServerError
104
155
  Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
105
-  (0.0ms) rollback transaction
106
-  (0.0ms) begin transaction
107
- ------------------------------------------------
108
- DummiesControllerTest: test_handle_routing_error
109
- ------------------------------------------------
110
-  (0.0ms) rollback transaction
111
-  (0.0ms) begin transaction
112
- --------------------------------------------------
113
- DummiesControllerTest: test_render_multiple_errors
114
- --------------------------------------------------
115
- Processing by DummiesController#index as HTML
116
- Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
117
-  (0.0ms) rollback transaction
118
-  (0.0ms) begin transaction
119
- ------------------------------------------------------------
120
- RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
121
- ------------------------------------------------------------
122
-  (0.0ms) SAVEPOINT active_record_1
123
- SQL (0.3ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-04-27 00:51:29.976773"], ["updated_at", "2016-04-27 00:51:29.976773"], ["uuid", "2ddcd376-0c12-11e6-b668-6c4008a6fa2a"]]
124
-  (0.1ms) RELEASE SAVEPOINT active_record_1
125
-  (1.1ms) rollback transaction
126
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
127
-  (0.1ms) begin transaction
156
+  (0.0ms) rollback transaction
157
+  (0.0ms) begin transaction
158
+ ----------------------------------------
159
+ TestsControllerTest: test_exceptions_app
160
+ ----------------------------------------
161
+ Processing by TestsController#show as HTML
162
+ Parameters: {"id"=>"blah"}
163
+ Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
164
+  (0.0ms) rollback transaction
165
+  (0.0ms) begin transaction
166
+ -------------------------------------------------------------------------
167
+ TestsControllerTest: test_find_object_will_error_if_object_does_not_exist
168
+ -------------------------------------------------------------------------
169
+ Processing by TestsController#show as HTML
170
+ Parameters: {"id"=>"blah"}
171
+ Attempting to get UniqueModel blah
172
+ UniqueModel Load (0.2ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ? [["uuid", "blah"], ["LIMIT", 1]]
173
+ 404 - UniqueModel blah cannot be found
174
+ Completed 404 Not Found in 3ms (Views: 0.3ms | ActiveRecord: 0.2ms)
175
+  (0.1ms) rollback transaction
176
+  (0.0ms) begin transaction
177
+ ----------------------------------------------------------------
178
+ TestsControllerTest: test_find_object_will_find_object_if_exists
179
+ ----------------------------------------------------------------
180
+  (0.0ms) SAVEPOINT active_record_1
181
+ SQL (0.3ms) INSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?) [["uuid", "e4f342c0-a564-11e6-9a54-9801a78f6ec1"], ["created_at", 2016-11-08 03:39:03 UTC], ["updated_at", 2016-11-08 03:39:03 UTC]]
182
+  (0.0ms) RELEASE SAVEPOINT active_record_1
183
+ Processing by TestsController#show as HTML
184
+ Parameters: {"id"=>"e4f342c0-a564-11e6-9a54-9801a78f6ec1"}
185
+ Attempting to get UniqueModel e4f342c0-a564-11e6-9a54-9801a78f6ec1
186
+ UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ? [["uuid", "e4f342c0-a564-11e6-9a54-9801a78f6ec1"], ["LIMIT", 1]]
187
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
188
+  (0.4ms) rollback transaction
189
+  (0.1ms) begin transaction
190
+ ----------------------------------------------------
191
+ TestsControllerTest: test_options_request_is_handled
192
+ ----------------------------------------------------
193
+ Processing by TestsController#options as HTML
194
+ Rendering text template
195
+ Rendered text template (0.0ms)
196
+ Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
197
+ Processing by TestsController#options as HTML
198
+ Rendering text template
199
+ Rendered text template (0.0ms)
200
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
201
+  (0.1ms) rollback transaction
202
+  (0.0ms) begin transaction
128
203
  ------------------------------------------------
129
- DummiesControllerTest: test_handle_routing_error
204
+ TestsControllerTest: test_render_multiple_errors
130
205
  ------------------------------------------------
131
-  (0.1ms) rollback transaction
132
-  (0.0ms) begin transaction
133
- ---------------------------------------------------------------
134
- DummiesControllerTest: test_Predefined_errors_should_be_handled
135
- ---------------------------------------------------------------
136
- Processing by DummiesController#show as HTML
206
+ Processing by TestsController#index as HTML
207
+ Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
208
+  (0.1ms) rollback transaction
209
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
210
+  (0.1ms) begin transaction
211
+ -------------------------------------------------------------------------
212
+ TestsControllerTest: test_find_object_will_error_if_object_does_not_exist
213
+ -------------------------------------------------------------------------
214
+ Processing by TestsController#show as HTML
215
+ Parameters: {"id"=>"blah"}
216
+ Attempting to get UniqueModel blah
217
+ UniqueModel Load (0.2ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ? [["uuid", "blah"], ["LIMIT", 1]]
218
+ 404 - UniqueModel blah cannot be found
219
+ Completed 404 Not Found in 8ms (Views: 0.3ms | ActiveRecord: 0.4ms)
220
+  (0.1ms) rollback transaction
221
+  (0.0ms) begin transaction
222
+ -------------------------------------------------------------
223
+ TestsControllerTest: test_Predefined_errors_should_be_handled
224
+ -------------------------------------------------------------
225
+ Processing by TestsController#show as HTML
137
226
  Parameters: {"id"=>"400"}
138
227
  400 - Repia::Errors::BadRequest
139
- Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
140
- Processing by DummiesController#show as HTML
228
+ Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
229
+ Processing by TestsController#show as HTML
141
230
  Parameters: {"id"=>"401"}
142
231
  401 - Repia::Errors::Unauthorized
143
232
  Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
144
- Processing by DummiesController#show as HTML
233
+ Processing by TestsController#show as HTML
145
234
  Parameters: {"id"=>"404"}
146
235
  404 - Repia::Errors::NotFound
147
236
  Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
148
- Processing by DummiesController#show as HTML
237
+ Processing by TestsController#show as HTML
149
238
  Parameters: {"id"=>"409"}
150
239
  409 - Repia::Errors::Conflict
151
240
  Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
152
- Processing by DummiesController#show as HTML
241
+ Processing by TestsController#show as HTML
153
242
  Parameters: {"id"=>"500"}
154
243
  500 - Repia::Errors::InternalServerError
155
244
  Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
156
-  (0.1ms) rollback transaction
157
-  (0.0ms) begin transaction
158
- ------------------------------------------------------
159
- DummiesControllerTest: test_options_request_is_handled
160
- ------------------------------------------------------
161
- Processing by DummiesController#options as HTML
245
+  (0.0ms) rollback transaction
246
+  (0.0ms) begin transaction
247
+ -----------------------------------------------
248
+ TestsControllerTest: test_handle_standard_error
249
+ -----------------------------------------------
250
+ Processing by TestsController#index as HTML
251
+ StandardError
252
+ Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
253
+  (0.0ms) rollback transaction
254
+  (0.0ms) begin transaction
255
+ ------------------------------------------------
256
+ TestsControllerTest: test_render_multiple_errors
257
+ ------------------------------------------------
258
+ Processing by TestsController#index as HTML
259
+ Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
260
+  (0.0ms) rollback transaction
261
+  (0.0ms) begin transaction
262
+ ----------------------------------------------------------------
263
+ TestsControllerTest: test_find_object_will_find_object_if_exists
264
+ ----------------------------------------------------------------
265
+  (0.1ms) SAVEPOINT active_record_1
266
+ SQL (0.3ms) INSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?) [["uuid", "6d50bb1a-a566-11e6-b26c-9801a78f6ec1"], ["created_at", 2016-11-08 03:50:02 UTC], ["updated_at", 2016-11-08 03:50:02 UTC]]
267
+  (0.1ms) RELEASE SAVEPOINT active_record_1
268
+ Processing by TestsController#show as HTML
269
+ Parameters: {"id"=>"6d50bb1a-a566-11e6-b26c-9801a78f6ec1"}
270
+ Attempting to get UniqueModel 6d50bb1a-a566-11e6-b26c-9801a78f6ec1
271
+ UniqueModel Load (0.0ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ? [["uuid", "6d50bb1a-a566-11e6-b26c-9801a78f6ec1"], ["LIMIT", 1]]
272
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
273
+  (2.0ms) rollback transaction
274
+  (0.1ms) begin transaction
275
+ ----------------------------------------
276
+ TestsControllerTest: test_exceptions_app
277
+ ----------------------------------------
278
+ Processing by TestsController#show as HTML
279
+ Parameters: {"id"=>"blah"}
280
+ Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
281
+  (0.0ms) rollback transaction
282
+  (0.0ms) begin transaction
283
+ ----------------------------------------------------
284
+ TestsControllerTest: test_options_request_is_handled
285
+ ----------------------------------------------------
286
+ Processing by TestsController#options as HTML
287
+ Rendering text template
162
288
  Rendered text template (0.0ms)
163
- Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)
164
- Processing by DummiesController#options as HTML
289
+ Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.0ms)
290
+ Processing by TestsController#options as HTML
291
+ Rendering text template
165
292
  Rendered text template (0.0ms)
166
293
  Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
167
-  (0.1ms) rollback transaction
168
-  (0.0ms) begin transaction
169
- --------------------------------------------------
170
- DummiesControllerTest: test_render_multiple_errors
171
- --------------------------------------------------
172
- Processing by DummiesController#index as HTML
173
- Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
174
-  (0.1ms) rollback transaction
175
-  (0.0ms) begin transaction
176
- -------------------------------------------------
177
- DummiesControllerTest: test_handle_standard_error
178
- -------------------------------------------------
179
- Processing by DummiesController#create as HTML
180
- String can't be coerced into Fixnum
181
- Completed 500 Internal Server Error in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
182
-  (0.1ms) rollback transaction
183
-  (0.1ms) begin transaction
184
- ------------------------------------------------------------
185
- RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
186
- ------------------------------------------------------------
187
-  (0.1ms) SAVEPOINT active_record_1
188
- SQL (0.3ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-04-27 00:55:05.685091"], ["updated_at", "2016-04-27 00:55:05.685091"], ["uuid", "ae6f4ed8-0c12-11e6-9f25-6c4008a6fa2a"]]
189
-  (0.0ms) RELEASE SAVEPOINT active_record_1
190
-  (0.9ms) rollback transaction
191
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
192
-  (0.1ms) begin transaction
193
- ------------------------------------------------------------
194
- RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
195
- ------------------------------------------------------------
196
-  (0.1ms) SAVEPOINT active_record_1
197
- SQL (0.3ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-04-27 00:55:49.246418"], ["updated_at", "2016-04-27 00:55:49.246418"], ["uuid", "c8663d06-0c12-11e6-b9c9-6c4008a6fa2a"]]
198
-  (0.1ms) RELEASE SAVEPOINT active_record_1
199
-  (1.1ms) rollback transaction
200
-  (0.1ms) begin transaction
201
- ---------------------------------------------------------------
202
- DummiesControllerTest: test_Predefined_errors_should_be_handled
203
- ---------------------------------------------------------------
204
- Processing by DummiesController#show as HTML
294
+  (0.1ms) rollback transaction
295
+  (0.0ms) begin transaction
296
+ -----------------------------------------------------------------------
297
+ RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
298
+ -----------------------------------------------------------------------
299
+  (0.1ms) SAVEPOINT active_record_1
300
+ SQL (0.2ms) INSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?) [["uuid", "6d55e77a-a566-11e6-b26c-9801a78f6ec1"], ["created_at", 2016-11-08 03:50:02 UTC], ["updated_at", 2016-11-08 03:50:02 UTC]]
301
+  (0.0ms) RELEASE SAVEPOINT active_record_1
302
+  (0.3ms) rollback transaction
303
+  (0.1ms) begin transaction
304
+ ----------------------------------------------------------------------------------------
305
+ RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
306
+ ----------------------------------------------------------------------------------------
307
+  (0.1ms) rollback transaction
308
+  (0.0ms) begin transaction
309
+ ----------------------------------------------------------------------------------
310
+ RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
311
+ ----------------------------------------------------------------------------------
312
+ ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007f930a10e588>, "rack.errors"=>#<StringIO:0x007f930a10e678>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
313
+  (0.1ms) rollback transaction
314
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
315
+  (0.1ms) begin transaction
316
+ ----------------------------------------
317
+ TestsControllerTest: test_exceptions_app
318
+ ----------------------------------------
319
+ Processing by TestsController#show as HTML
320
+ Parameters: {"id"=>"blah"}
321
+ Completed 404 Not Found in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
322
+  (0.1ms) rollback transaction
323
+  (0.1ms) begin transaction
324
+ -----------------------------------------------
325
+ TestsControllerTest: test_handle_standard_error
326
+ -----------------------------------------------
327
+ Processing by TestsController#index as HTML
328
+ StandardError
329
+ Completed 500 Internal Server Error in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
330
+  (0.0ms) rollback transaction
331
+  (0.0ms) begin transaction
332
+ -------------------------------------------------------------------------
333
+ TestsControllerTest: test_find_object_will_error_if_object_does_not_exist
334
+ -------------------------------------------------------------------------
335
+ Processing by TestsController#show as HTML
336
+ Parameters: {"id"=>"blah"}
337
+ Attempting to get UniqueModel blah
338
+ UniqueModel Load (0.3ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ? [["uuid", "blah"], ["LIMIT", 1]]
339
+ 404 - UniqueModel blah cannot be found
340
+ Completed 404 Not Found in 8ms (Views: 0.2ms | ActiveRecord: 0.5ms)
341
+  (0.1ms) rollback transaction
342
+  (0.0ms) begin transaction
343
+ ------------------------------------------------
344
+ TestsControllerTest: test_render_multiple_errors
345
+ ------------------------------------------------
346
+ Processing by TestsController#index as HTML
347
+ Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
348
+  (0.0ms) rollback transaction
349
+  (0.0ms) begin transaction
350
+ ----------------------------------------------------------------
351
+ TestsControllerTest: test_find_object_will_find_object_if_exists
352
+ ----------------------------------------------------------------
353
+  (0.0ms) SAVEPOINT active_record_1
354
+ SQL (0.4ms) INSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?) [["uuid", "bb195c0a-a8ed-11e6-bf2c-9801a78f6ec1"], ["created_at", 2016-11-12 15:36:08 UTC], ["updated_at", 2016-11-12 15:36:08 UTC]]
355
+  (0.0ms) RELEASE SAVEPOINT active_record_1
356
+ Processing by TestsController#show as HTML
357
+ Parameters: {"id"=>"bb195c0a-a8ed-11e6-bf2c-9801a78f6ec1"}
358
+ Attempting to get UniqueModel bb195c0a-a8ed-11e6-bf2c-9801a78f6ec1
359
+ UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ? [["uuid", "bb195c0a-a8ed-11e6-bf2c-9801a78f6ec1"], ["LIMIT", 1]]
360
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
361
+  (0.4ms) rollback transaction
362
+  (0.1ms) begin transaction
363
+ ----------------------------------------------------
364
+ TestsControllerTest: test_options_request_is_handled
365
+ ----------------------------------------------------
366
+ Processing by TestsController#options as HTML
367
+ Rendering text template
368
+ Rendered text template (0.0ms)
369
+ Completed 200 OK in 5ms (Views: 5.2ms | ActiveRecord: 0.0ms)
370
+ Processing by TestsController#options as HTML
371
+ Rendering text template
372
+ Rendered text template (0.0ms)
373
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
374
+  (0.1ms) rollback transaction
375
+  (0.0ms) begin transaction
376
+ -------------------------------------------------------------
377
+ TestsControllerTest: test_Predefined_errors_should_be_handled
378
+ -------------------------------------------------------------
379
+ Processing by TestsController#show as HTML
205
380
  Parameters: {"id"=>"400"}
206
381
  400 - Repia::Errors::BadRequest
207
- Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
208
- Processing by DummiesController#show as HTML
382
+ Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
383
+ Processing by TestsController#show as HTML
209
384
  Parameters: {"id"=>"401"}
210
385
  401 - Repia::Errors::Unauthorized
211
386
  Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
212
- Processing by DummiesController#show as HTML
387
+ Processing by TestsController#show as HTML
213
388
  Parameters: {"id"=>"404"}
214
389
  404 - Repia::Errors::NotFound
215
390
  Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
216
- Processing by DummiesController#show as HTML
391
+ Processing by TestsController#show as HTML
217
392
  Parameters: {"id"=>"409"}
218
393
  409 - Repia::Errors::Conflict
219
394
  Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
220
- Processing by DummiesController#show as HTML
395
+ Processing by TestsController#show as HTML
221
396
  Parameters: {"id"=>"500"}
222
397
  500 - Repia::Errors::InternalServerError
223
398
  Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
224
-  (0.1ms) rollback transaction
225
-  (0.0ms) begin transaction
226
- -------------------------------------------------
227
- DummiesControllerTest: test_handle_standard_error
228
- -------------------------------------------------
229
- Processing by DummiesController#create as HTML
230
- String can't be coerced into Fixnum
399
+  (0.1ms) rollback transaction
400
+  (0.1ms) begin transaction
401
+ -----------------------------------------------------------------------
402
+ RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
403
+ -----------------------------------------------------------------------
404
+  (0.0ms) SAVEPOINT active_record_1
405
+ SQL (0.3ms) INSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?) [["uuid", "bb1f660e-a8ed-11e6-bf2c-9801a78f6ec1"], ["created_at", 2016-11-12 15:36:08 UTC], ["updated_at", 2016-11-12 15:36:08 UTC]]
406
+  (0.0ms) RELEASE SAVEPOINT active_record_1
407
+  (0.3ms) rollback transaction
408
+  (0.0ms) begin transaction
409
+ ----------------------------------------------------------------------------------------
410
+ RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
411
+ ----------------------------------------------------------------------------------------
412
+  (0.0ms) rollback transaction
413
+  (0.0ms) begin transaction
414
+ ----------------------------------------------------------------------------------
415
+ RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
416
+ ----------------------------------------------------------------------------------
417
+ ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007fc6faa90f60>, "rack.errors"=>#<StringIO:0x007fc6faa91118>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
418
+  (0.0ms) rollback transaction
419
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
420
+  (0.2ms) begin transaction
421
+ ----------------------------------------------------------------
422
+ TestsControllerTest: test_find_object_will_find_object_if_exists
423
+ ----------------------------------------------------------------
424
+  (0.0ms) SAVEPOINT active_record_1
425
+ SQL (0.4ms) INSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?) [["uuid", "430ddbe0-a8ee-11e6-95da-9801a78f6ec1"], ["created_at", 2016-11-12 15:39:56 UTC], ["updated_at", 2016-11-12 15:39:56 UTC]]
426
+  (0.0ms) RELEASE SAVEPOINT active_record_1
427
+ Processing by TestsController#show as HTML
428
+ Parameters: {"id"=>"430ddbe0-a8ee-11e6-95da-9801a78f6ec1"}
429
+ Attempting to get UniqueModel 430ddbe0-a8ee-11e6-95da-9801a78f6ec1
430
+ UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ? [["uuid", "430ddbe0-a8ee-11e6-95da-9801a78f6ec1"], ["LIMIT", 1]]
431
+ Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.1ms)
432
+  (2.2ms) rollback transaction
433
+  (0.1ms) begin transaction
434
+ ----------------------------------------
435
+ TestsControllerTest: test_exceptions_app
436
+ ----------------------------------------
437
+ Processing by TestsController#show as HTML
438
+ Parameters: {"id"=>"blah"}
439
+ Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
440
+  (0.0ms) rollback transaction
441
+  (0.0ms) begin transaction
442
+ -----------------------------------------------
443
+ TestsControllerTest: test_handle_standard_error
444
+ -----------------------------------------------
445
+ Processing by TestsController#index as HTML
446
+ StandardError
231
447
  Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
232
-  (0.0ms) rollback transaction
233
-  (0.0ms) begin transaction
234
- --------------------------------------------------
235
- DummiesControllerTest: test_render_multiple_errors
236
- --------------------------------------------------
237
- Processing by DummiesController#index as HTML
238
- Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
239
-  (0.0ms) rollback transaction
240
-  (0.0ms) begin transaction
241
- ------------------------------------------------------
242
- DummiesControllerTest: test_options_request_is_handled
243
- ------------------------------------------------------
244
- Processing by DummiesController#options as HTML
245
- Rendered text template (0.0ms)
246
- Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)
247
- Processing by DummiesController#options as HTML
448
+  (0.1ms) rollback transaction
449
+  (0.0ms) begin transaction
450
+ -------------------------------------------------------------------------
451
+ TestsControllerTest: test_find_object_will_error_if_object_does_not_exist
452
+ -------------------------------------------------------------------------
453
+ Processing by TestsController#show as HTML
454
+ Parameters: {"id"=>"blah"}
455
+ Attempting to get UniqueModel blah
456
+ UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ? [["uuid", "blah"], ["LIMIT", 1]]
457
+ 404 - UniqueModel blah cannot be found
458
+ Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
459
+  (0.0ms) rollback transaction
460
+  (0.0ms) begin transaction
461
+ ----------------------------------------------------
462
+ TestsControllerTest: test_options_request_is_handled
463
+ ----------------------------------------------------
464
+ Processing by TestsController#options as HTML
465
+ Rendering text template
466
+ Rendered text template (0.0ms)
467
+ Completed 200 OK in 3ms (Views: 3.2ms | ActiveRecord: 0.0ms)
468
+ Processing by TestsController#options as HTML
469
+ Rendering text template
248
470
  Rendered text template (0.0ms)
249
471
  Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
250
-  (0.1ms) rollback transaction
251
-  (0.0ms) begin transaction
252
- ------------------------------------------------
253
- DummiesControllerTest: test_handle_routing_error
254
- ------------------------------------------------
255
-  (0.0ms) rollback transaction
256
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
257
-  (0.1ms) begin transaction
258
- ------------------------------------------------------------
259
- RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
260
- ------------------------------------------------------------
261
-  (0.1ms) SAVEPOINT active_record_1
262
- SQL (0.7ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-04-27 00:58:29.077685"], ["updated_at", "2016-04-27 00:58:29.077685"], ["uuid", "27aa8e5c-0c13-11e6-a1c0-6c4008a6fa2a"]]
263
-  (0.1ms) RELEASE SAVEPOINT active_record_1
264
-  (0.9ms) rollback transaction
265
-  (0.1ms) begin transaction
266
- ---------------------------------------------------------------
267
- DummiesControllerTest: test_Predefined_errors_should_be_handled
268
- ---------------------------------------------------------------
269
- Processing by DummiesController#show as HTML
472
+  (0.1ms) rollback transaction
473
+  (0.1ms) begin transaction
474
+ -------------------------------------------------------------
475
+ TestsControllerTest: test_Predefined_errors_should_be_handled
476
+ -------------------------------------------------------------
477
+ Processing by TestsController#show as HTML
270
478
  Parameters: {"id"=>"400"}
271
479
  400 - Repia::Errors::BadRequest
272
- Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
273
- Processing by DummiesController#show as HTML
480
+ Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
481
+ Processing by TestsController#show as HTML
274
482
  Parameters: {"id"=>"401"}
275
483
  401 - Repia::Errors::Unauthorized
276
- Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
277
- Processing by DummiesController#show as HTML
484
+ Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
485
+ Processing by TestsController#show as HTML
278
486
  Parameters: {"id"=>"404"}
279
487
  404 - Repia::Errors::NotFound
280
488
  Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
281
- Processing by DummiesController#show as HTML
489
+ Processing by TestsController#show as HTML
282
490
  Parameters: {"id"=>"409"}
283
491
  409 - Repia::Errors::Conflict
284
492
  Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
285
- Processing by DummiesController#show as HTML
493
+ Processing by TestsController#show as HTML
286
494
  Parameters: {"id"=>"500"}
287
495
  500 - Repia::Errors::InternalServerError
288
496
  Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
289
-  (0.1ms) rollback transaction
290
-  (0.0ms) begin transaction
497
+  (0.1ms) rollback transaction
498
+  (0.0ms) begin transaction
291
499
  ------------------------------------------------
292
- DummiesControllerTest: test_handle_routing_error
500
+ TestsControllerTest: test_render_multiple_errors
293
501
  ------------------------------------------------
294
-  (0.0ms) rollback transaction
295
-  (0.1ms) begin transaction
296
- ------------------------------------------------------
297
- DummiesControllerTest: test_options_request_is_handled
298
- ------------------------------------------------------
299
- Processing by DummiesController#options as HTML
300
- Rendered text template (0.0ms)
301
- Completed 200 OK in 5ms (Views: 5.2ms | ActiveRecord: 0.0ms)
302
- Processing by DummiesController#options as HTML
303
- Rendered text template (0.0ms)
304
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
305
-  (0.1ms) rollback transaction
306
-  (0.0ms) begin transaction
307
- -------------------------------------------------
308
- DummiesControllerTest: test_handle_standard_error
309
- -------------------------------------------------
310
- Processing by DummiesController#create as HTML
311
- String can't be coerced into Fixnum
312
- Completed 500 Internal Server Error in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
313
-  (0.0ms) rollback transaction
314
-  (0.1ms) begin transaction
315
- --------------------------------------------------
316
- DummiesControllerTest: test_render_multiple_errors
317
- --------------------------------------------------
318
- Processing by DummiesController#index as HTML
502
+ Processing by TestsController#index as HTML
319
503
  Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
320
-  (0.0ms) rollback transaction
321
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
322
-  (0.1ms) begin transaction
323
- -------------------------------------------------
324
- DummiesControllerTest: test_handle_standard_error
325
- -------------------------------------------------
326
- Processing by DummiesController#create as HTML
327
- String can't be coerced into Fixnum
328
- Completed 500 Internal Server Error in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
329
-  (0.1ms) rollback transaction
330
-  (0.0ms) begin transaction
504
+  (0.0ms) rollback transaction
505
+  (0.1ms) begin transaction
506
+ ----------------------------------------------------------------------------------------
507
+ RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
508
+ ----------------------------------------------------------------------------------------
509
+  (0.0ms) rollback transaction
510
+  (0.0ms) begin transaction
511
+ ----------------------------------------------------------------------------------
512
+ RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
513
+ ----------------------------------------------------------------------------------
514
+ ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007fbad4123338>, "rack.errors"=>#<StringIO:0x007fbad4123810>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
515
+  (0.1ms) rollback transaction
516
+  (0.0ms) begin transaction
517
+ -----------------------------------------------------------------------
518
+ RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
519
+ -----------------------------------------------------------------------
520
+  (0.1ms) SAVEPOINT active_record_1
521
+ SQL (0.3ms) INSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?) [["uuid", "4316e546-a8ee-11e6-95da-9801a78f6ec1"], ["created_at", 2016-11-12 15:39:56 UTC], ["updated_at", 2016-11-12 15:39:56 UTC]]
522
+  (0.0ms) RELEASE SAVEPOINT active_record_1
523
+  (0.3ms) rollback transaction
524
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
525
+  (0.1ms) begin transaction
331
526
  ------------------------------------------------
332
- DummiesControllerTest: test_handle_routing_error
527
+ TestsControllerTest: test_render_multiple_errors
333
528
  ------------------------------------------------
334
-  (0.1ms) rollback transaction
335
-  (0.0ms) begin transaction
336
- ------------------------------------------------------
337
- DummiesControllerTest: test_options_request_is_handled
338
- ------------------------------------------------------
339
- Processing by DummiesController#options as HTML
529
+ Processing by TestsController#index as HTML
530
+ Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
531
+  (0.1ms) rollback transaction
532
+  (0.0ms) begin transaction
533
+ ----------------------------------------------------------------
534
+ TestsControllerTest: test_find_object_will_find_object_if_exists
535
+ ----------------------------------------------------------------
536
+  (0.0ms) SAVEPOINT active_record_1
537
+ SQL (0.3ms) INSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?) [["uuid", "4cb95fd8-a8ef-11e6-b36d-9801a78f6ec1"], ["created_at", 2016-11-12 15:47:21 UTC], ["updated_at", 2016-11-12 15:47:21 UTC]]
538
+  (0.0ms) RELEASE SAVEPOINT active_record_1
539
+ Processing by TestsController#show as HTML
540
+ Parameters: {"id"=>"4cb95fd8-a8ef-11e6-b36d-9801a78f6ec1"}
541
+ Attempting to get UniqueModel 4cb95fd8-a8ef-11e6-b36d-9801a78f6ec1
542
+ UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ? [["uuid", "4cb95fd8-a8ef-11e6-b36d-9801a78f6ec1"], ["LIMIT", 1]]
543
+ Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.1ms)
544
+  (0.3ms) rollback transaction
545
+  (0.1ms) begin transaction
546
+ ----------------------------------------------------
547
+ TestsControllerTest: test_options_request_is_handled
548
+ ----------------------------------------------------
549
+ Processing by TestsController#options as HTML
550
+ Rendering text template
340
551
  Rendered text template (0.0ms)
341
- Completed 200 OK in 4ms (Views: 4.3ms | ActiveRecord: 0.0ms)
342
- Processing by DummiesController#options as HTML
552
+ Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.0ms)
553
+ Processing by TestsController#options as HTML
554
+ Rendering text template
343
555
  Rendered text template (0.0ms)
344
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
345
-  (0.1ms) rollback transaction
346
-  (0.0ms) begin transaction
347
- ---------------------------------------------------------------
348
- DummiesControllerTest: test_Predefined_errors_should_be_handled
349
- ---------------------------------------------------------------
350
- Processing by DummiesController#show as HTML
556
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
557
+  (0.1ms) rollback transaction
558
+  (0.0ms) begin transaction
559
+ -----------------------------------------------
560
+ TestsControllerTest: test_handle_standard_error
561
+ -----------------------------------------------
562
+ Processing by TestsController#index as HTML
563
+ StandardError
564
+ Completed 500 Internal Server Error in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
565
+  (0.1ms) rollback transaction
566
+  (0.0ms) begin transaction
567
+ -------------------------------------------------------------------------
568
+ TestsControllerTest: test_find_object_will_error_if_object_does_not_exist
569
+ -------------------------------------------------------------------------
570
+ Processing by TestsController#show as HTML
571
+ Parameters: {"id"=>"blah"}
572
+ Attempting to get UniqueModel blah
573
+ UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ? [["uuid", "blah"], ["LIMIT", 1]]
574
+ 404 - UniqueModel blah cannot be found
575
+ Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
576
+  (0.0ms) rollback transaction
577
+  (0.0ms) begin transaction
578
+ -------------------------------------------------------------
579
+ TestsControllerTest: test_Predefined_errors_should_be_handled
580
+ -------------------------------------------------------------
581
+ Processing by TestsController#show as HTML
351
582
  Parameters: {"id"=>"400"}
352
583
  400 - Repia::Errors::BadRequest
353
- Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
354
- Processing by DummiesController#show as HTML
584
+ Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
585
+ Processing by TestsController#show as HTML
355
586
  Parameters: {"id"=>"401"}
356
587
  401 - Repia::Errors::Unauthorized
357
588
  Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
358
- Processing by DummiesController#show as HTML
589
+ Processing by TestsController#show as HTML
359
590
  Parameters: {"id"=>"404"}
360
591
  404 - Repia::Errors::NotFound
361
592
  Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
362
- Processing by DummiesController#show as HTML
593
+ Processing by TestsController#show as HTML
363
594
  Parameters: {"id"=>"409"}
364
595
  409 - Repia::Errors::Conflict
365
596
  Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
366
- Processing by DummiesController#show as HTML
597
+ Processing by TestsController#show as HTML
367
598
  Parameters: {"id"=>"500"}
368
599
  500 - Repia::Errors::InternalServerError
369
600
  Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
370
-  (0.0ms) rollback transaction
371
-  (0.0ms) begin transaction
372
- --------------------------------------------------
373
- DummiesControllerTest: test_render_multiple_errors
374
- --------------------------------------------------
375
- Processing by DummiesController#index as HTML
376
- Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
377
-  (0.0ms) rollback transaction
378
-  (0.0ms) begin transaction
379
- ------------------------------------------------------------
380
- RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
381
- ------------------------------------------------------------
382
-  (0.0ms) SAVEPOINT active_record_1
383
- SQL (0.3ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-04-27 01:03:52.448139"], ["updated_at", "2016-04-27 01:03:52.448139"], ["uuid", "e868f638-0c13-11e6-873a-6c4008a6fa2a"]]
384
-  (0.1ms) RELEASE SAVEPOINT active_record_1
385
-  (0.9ms) rollback transaction
386
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
387
-  (0.1ms) begin transaction
388
- ------------------------------------------------------------
389
- RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
390
- ------------------------------------------------------------
391
-  (0.0ms) SAVEPOINT active_record_1
392
- SQL (0.3ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-04-27 01:08:28.079585"], ["updated_at", "2016-04-27 01:08:28.079585"], ["uuid", "8cb2fbda-0c14-11e6-b1c2-6c4008a6fa2a"]]
393
-  (0.0ms) RELEASE SAVEPOINT active_record_1
394
-  (1.1ms) rollback transaction
395
-  (0.1ms) begin transaction
396
- -------------------------------------------------
397
- DummiesControllerTest: test_handle_standard_error
398
- -------------------------------------------------
399
- Processing by DummiesController#create as HTML
400
- String can't be coerced into Fixnum
401
- Completed 500 Internal Server Error in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
402
-  (0.1ms) rollback transaction
403
-  (0.1ms) begin transaction
404
- ---------------------------------------------------------------
405
- DummiesControllerTest: test_Predefined_errors_should_be_handled
406
- ---------------------------------------------------------------
407
- Processing by DummiesController#show as HTML
601
+  (0.0ms) rollback transaction
602
+  (0.0ms) begin transaction
603
+ ----------------------------------------
604
+ TestsControllerTest: test_exceptions_app
605
+ ----------------------------------------
606
+ Processing by TestsController#show as HTML
607
+ Parameters: {"id"=>"blah"}
608
+ Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
609
+  (0.0ms) rollback transaction
610
+  (0.0ms) begin transaction
611
+ -----------------------------------------------------------------------
612
+ RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
613
+ -----------------------------------------------------------------------
614
+  (0.0ms) SAVEPOINT active_record_1
615
+ SQL (0.2ms) INSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?) [["uuid", "4cc24396-a8ef-11e6-b36d-9801a78f6ec1"], ["created_at", 2016-11-12 15:47:21 UTC], ["updated_at", 2016-11-12 15:47:21 UTC]]
616
+  (0.0ms) RELEASE SAVEPOINT active_record_1
617
+  (0.3ms) rollback transaction
618
+  (0.1ms) begin transaction
619
+ ----------------------------------------------------------------------------------------
620
+ RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
621
+ ----------------------------------------------------------------------------------------
622
+  (0.0ms) rollback transaction
623
+  (0.0ms) begin transaction
624
+ ----------------------------------------------------------------------------------
625
+ RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
626
+ ----------------------------------------------------------------------------------
627
+ ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007ffdeaaeb628>, "rack.errors"=>#<StringIO:0x007ffdeaaeb790>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
628
+  (0.0ms) rollback transaction
629
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
630
+  (0.1ms) begin transaction
631
+ ----------------------------------------------------------------------------------
632
+ RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
633
+ ----------------------------------------------------------------------------------
634
+ ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007fc642c53928>, "rack.errors"=>#<StringIO:0x007fc642c539a0>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
635
+  (0.0ms) rollback transaction
636
+  (0.0ms) begin transaction
637
+ ----------------------------------------------------------------------------------------
638
+ RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
639
+ ----------------------------------------------------------------------------------------
640
+  (0.0ms) rollback transaction
641
+  (0.0ms) begin transaction
642
+ ----------------------------------------------------------------
643
+ TestsControllerTest: test_find_object_will_find_object_if_exists
644
+ ----------------------------------------------------------------
645
+  (0.0ms) SAVEPOINT active_record_1
646
+ SQL (0.4ms) INSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?) [["uuid", "3978a608-a8f0-11e6-a658-9801a78f6ec1"], ["created_at", 2016-11-12 15:53:59 UTC], ["updated_at", 2016-11-12 15:53:59 UTC]]
647
+  (0.0ms) RELEASE SAVEPOINT active_record_1
648
+ Processing by TestsController#show as HTML
649
+ Parameters: {"id"=>"3978a608-a8f0-11e6-a658-9801a78f6ec1"}
650
+ Attempting to get UniqueModel 3978a608-a8f0-11e6-a658-9801a78f6ec1
651
+ UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ? [["uuid", "3978a608-a8f0-11e6-a658-9801a78f6ec1"], ["LIMIT", 1]]
652
+ Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.1ms)
653
+  (2.0ms) rollback transaction
654
+  (0.1ms) begin transaction
655
+ -----------------------------------------------
656
+ TestsControllerTest: test_handle_standard_error
657
+ -----------------------------------------------
658
+ Processing by TestsController#index as HTML
659
+ StandardError
660
+ Completed 500 Internal Server Error in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
661
+  (0.0ms) rollback transaction
662
+  (0.0ms) begin transaction
663
+ ------------------------------------------------
664
+ TestsControllerTest: test_render_multiple_errors
665
+ ------------------------------------------------
666
+ Processing by TestsController#index as HTML
667
+ Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
668
+  (0.1ms) rollback transaction
669
+  (0.0ms) begin transaction
670
+ -------------------------------------------------------------
671
+ TestsControllerTest: test_Predefined_errors_should_be_handled
672
+ -------------------------------------------------------------
673
+ Processing by TestsController#show as HTML
408
674
  Parameters: {"id"=>"400"}
409
675
  400 - Repia::Errors::BadRequest
410
- Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
411
- Processing by DummiesController#show as HTML
676
+ Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
677
+ Processing by TestsController#show as HTML
412
678
  Parameters: {"id"=>"401"}
413
679
  401 - Repia::Errors::Unauthorized
414
680
  Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
415
- Processing by DummiesController#show as HTML
681
+ Processing by TestsController#show as HTML
416
682
  Parameters: {"id"=>"404"}
417
683
  404 - Repia::Errors::NotFound
418
684
  Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
419
- Processing by DummiesController#show as HTML
685
+ Processing by TestsController#show as HTML
420
686
  Parameters: {"id"=>"409"}
421
687
  409 - Repia::Errors::Conflict
422
- Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
423
- Processing by DummiesController#show as HTML
688
+ Completed 409 Conflict in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
689
+ Processing by TestsController#show as HTML
424
690
  Parameters: {"id"=>"500"}
425
691
  500 - Repia::Errors::InternalServerError
426
692
  Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
427
-  (0.1ms) rollback transaction
428
-  (0.0ms) begin transaction
429
- ------------------------------------------------
430
- DummiesControllerTest: test_handle_routing_error
431
- ------------------------------------------------
432
-  (0.0ms) rollback transaction
433
-  (0.1ms) begin transaction
434
- ------------------------------------------------------
435
- DummiesControllerTest: test_options_request_is_handled
436
- ------------------------------------------------------
437
- Processing by DummiesController#options as HTML
693
+  (0.0ms) rollback transaction
694
+  (0.0ms) begin transaction
695
+ ----------------------------------------------------
696
+ TestsControllerTest: test_options_request_is_handled
697
+ ----------------------------------------------------
698
+ Processing by TestsController#options as HTML
699
+ Rendering text template
700
+ Rendered text template (0.0ms)
701
+ Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
702
+ Processing by TestsController#options as HTML
703
+ Rendering text template
438
704
  Rendered text template (0.0ms)
439
- Completed 200 OK in 6ms (Views: 5.8ms | ActiveRecord: 0.0ms)
440
- Processing by DummiesController#options as HTML
705
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
706
+  (0.0ms) rollback transaction
707
+  (0.0ms) begin transaction
708
+ -------------------------------------------------------------------------
709
+ TestsControllerTest: test_find_object_will_error_if_object_does_not_exist
710
+ -------------------------------------------------------------------------
711
+ Processing by TestsController#show as HTML
712
+ Parameters: {"id"=>"blah"}
713
+ Attempting to get UniqueModel blah
714
+ UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ? [["uuid", "blah"], ["LIMIT", 1]]
715
+ 404 - UniqueModel blah cannot be found
716
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
717
+  (0.0ms) rollback transaction
718
+  (0.1ms) begin transaction
719
+ ----------------------------------------
720
+ TestsControllerTest: test_exceptions_app
721
+ ----------------------------------------
722
+ Processing by TestsController#show as HTML
723
+ Parameters: {"id"=>"blah"}
724
+ Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
725
+  (0.0ms) rollback transaction
726
+  (0.0ms) begin transaction
727
+ -----------------------------------------------------------------------
728
+ RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
729
+ -----------------------------------------------------------------------
730
+  (0.0ms) SAVEPOINT active_record_1
731
+ SQL (0.2ms) INSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?) [["uuid", "39815ac8-a8f0-11e6-a658-9801a78f6ec1"], ["created_at", 2016-11-12 15:53:59 UTC], ["updated_at", 2016-11-12 15:53:59 UTC]]
732
+  (0.1ms) RELEASE SAVEPOINT active_record_1
733
+  (0.3ms) rollback transaction
734
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
735
+  (0.1ms) begin transaction
736
+ -----------------------------------------------------------------------
737
+ RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
738
+ -----------------------------------------------------------------------
739
+  (0.0ms) SAVEPOINT active_record_1
740
+ SQL (0.3ms) INSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?) [["uuid", "4028f16a-a8f0-11e6-a826-9801a78f6ec1"], ["created_at", 2016-11-12 15:54:10 UTC], ["updated_at", 2016-11-12 15:54:10 UTC]]
741
+  (0.0ms) RELEASE SAVEPOINT active_record_1
742
+  (0.3ms) rollback transaction
743
+  (0.1ms) begin transaction
744
+ ----------------------------------------------------------------------------------------
745
+ RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
746
+ ----------------------------------------------------------------------------------------
747
+  (0.0ms) rollback transaction
748
+  (0.0ms) begin transaction
749
+ ----------------------------------------------------------------------------------
750
+ RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
751
+ ----------------------------------------------------------------------------------
752
+ ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007fbadeeac838>, "rack.errors"=>#<StringIO:0x007fbadeeac900>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
753
+  (0.0ms) rollback transaction
754
+  (0.1ms) begin transaction
755
+ ----------------------------------------------------
756
+ TestsControllerTest: test_options_request_is_handled
757
+ ----------------------------------------------------
758
+ Processing by TestsController#options as HTML
759
+ Rendering text template
760
+ Rendered text template (0.0ms)
761
+ Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)
762
+ Processing by TestsController#options as HTML
763
+ Rendering text template
441
764
  Rendered text template (0.0ms)
442
765
  Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
443
-  (0.1ms) rollback transaction
444
-  (0.0ms) begin transaction
445
- --------------------------------------------------
446
- DummiesControllerTest: test_render_multiple_errors
447
- --------------------------------------------------
448
- Processing by DummiesController#index as HTML
449
- Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
450
-  (0.1ms) rollback transaction
451
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
452
-  (0.1ms) begin transaction
453
- ---------------------------------------------------------------
454
- DummiesControllerTest: test_Predefined_errors_should_be_handled
455
- ---------------------------------------------------------------
456
- Processing by DummiesController#show as HTML
457
- Parameters: {"id"=>"400"}
458
- 400 - Repia::Errors::BadRequest
459
- Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
460
- Processing by DummiesController#show as HTML
461
- Parameters: {"id"=>"401"}
462
- 401 - Repia::Errors::Unauthorized
463
- Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
464
- Processing by DummiesController#show as HTML
465
- Parameters: {"id"=>"404"}
466
- 404 - Repia::Errors::NotFound
467
- Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
468
- Processing by DummiesController#show as HTML
469
- Parameters: {"id"=>"409"}
470
- 409 - Repia::Errors::Conflict
471
- Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
472
- Processing by DummiesController#show as HTML
473
- Parameters: {"id"=>"500"}
474
- 500 - Repia::Errors::InternalServerError
475
- Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
476
-  (0.1ms) rollback transaction
477
-  (0.0ms) begin transaction
478
- ------------------------------------------------
479
- DummiesControllerTest: test_handle_routing_error
480
- ------------------------------------------------
481
-  (0.0ms) rollback transaction
482
-  (0.0ms) begin transaction
483
- --------------------------------------------------
484
- DummiesControllerTest: test_render_multiple_errors
485
- --------------------------------------------------
486
- Processing by DummiesController#index as HTML
487
- Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
488
-  (0.1ms) rollback transaction
489
-  (0.0ms) begin transaction
490
- -------------------------------------------------
491
- DummiesControllerTest: test_handle_standard_error
492
- -------------------------------------------------
493
- Processing by DummiesController#create as HTML
494
- String can't be coerced into Fixnum
495
- Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
496
-  (0.0ms) rollback transaction
497
-  (0.0ms) begin transaction
498
- ------------------------------------------------------
499
- DummiesControllerTest: test_options_request_is_handled
500
- ------------------------------------------------------
501
- Processing by DummiesController#options as HTML
502
- Rendered text template (0.0ms)
503
- Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)
504
- Processing by DummiesController#options as HTML
505
- Rendered text template (0.0ms)
506
- Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
507
-  (0.1ms) rollback transaction
508
-  (0.0ms) begin transaction
509
- ------------------------------------------------------------
510
- RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
511
- ------------------------------------------------------------
512
-  (0.1ms) SAVEPOINT active_record_1
513
- SQL (0.3ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-04-27 01:10:05.927864"], ["updated_at", "2016-04-27 01:10:05.927864"], ["uuid", "c70575ec-0c14-11e6-9f4f-6c4008a6fa2a"]]
514
-  (0.0ms) RELEASE SAVEPOINT active_record_1
515
-  (1.0ms) rollback transaction
516
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
517
-  (0.1ms) begin transaction
518
- ------------------------------------------------------------
519
- RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
520
- ------------------------------------------------------------
521
-  (0.1ms) SAVEPOINT active_record_1
522
- SQL (0.4ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-04-27 01:10:15.805432"], ["updated_at", "2016-04-27 01:10:15.805432"], ["uuid", "cce8a60a-0c14-11e6-a738-6c4008a6fa2a"]]
523
-  (0.2ms) RELEASE SAVEPOINT active_record_1
524
-  (1.7ms) rollback transaction
525
-  (0.1ms) begin transaction
526
- -------------------------------------------------
527
- DummiesControllerTest: test_handle_standard_error
528
- -------------------------------------------------
529
- Processing by DummiesController#create as HTML
530
- String can't be coerced into Fixnum
531
- Completed 500 Internal Server Error in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
532
-  (0.1ms) rollback transaction
533
-  (0.0ms) begin transaction
534
- ------------------------------------------------
535
- DummiesControllerTest: test_handle_routing_error
536
- ------------------------------------------------
537
-  (0.0ms) rollback transaction
538
-  (0.1ms) begin transaction
539
- --------------------------------------------------
540
- DummiesControllerTest: test_render_multiple_errors
541
- --------------------------------------------------
542
- Processing by DummiesController#index as HTML
543
- Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
544
-  (0.0ms) rollback transaction
545
-  (0.0ms) begin transaction
546
- ---------------------------------------------------------------
547
- DummiesControllerTest: test_Predefined_errors_should_be_handled
548
- ---------------------------------------------------------------
549
- Processing by DummiesController#show as HTML
550
- Parameters: {"id"=>"400"}
551
- 400 - Repia::Errors::BadRequest
552
- Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
553
- Processing by DummiesController#show as HTML
554
- Parameters: {"id"=>"401"}
555
- 401 - Repia::Errors::Unauthorized
556
- Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
557
- Processing by DummiesController#show as HTML
558
- Parameters: {"id"=>"404"}
559
- 404 - Repia::Errors::NotFound
560
- Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
561
- Processing by DummiesController#show as HTML
562
- Parameters: {"id"=>"409"}
563
- 409 - Repia::Errors::Conflict
564
- Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
565
- Processing by DummiesController#show as HTML
566
- Parameters: {"id"=>"500"}
567
- 500 - Repia::Errors::InternalServerError
568
- Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
569
-  (0.0ms) rollback transaction
570
-  (0.0ms) begin transaction
571
- ------------------------------------------------------
572
- DummiesControllerTest: test_options_request_is_handled
573
- ------------------------------------------------------
574
- Processing by DummiesController#options as HTML
575
- Rendered text template (0.0ms)
576
- Completed 200 OK in 4ms (Views: 4.3ms | ActiveRecord: 0.0ms)
577
- Processing by DummiesController#options as HTML
578
- Rendered text template (0.0ms)
579
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
580
-  (0.0ms) rollback transaction
581
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
582
-  (0.1ms) begin transaction
583
- ------------------------------------------------------------
584
- RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
585
- ------------------------------------------------------------
586
-  (0.1ms) SAVEPOINT active_record_1
587
- SQL (0.8ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-04-27 03:28:57.536795"], ["updated_at", "2016-04-27 03:28:57.536795"], ["uuid", "2d0c150e-0c28-11e6-a34e-6c4008a6fa2a"]]
588
-  (0.1ms) RELEASE SAVEPOINT active_record_1
589
-  (0.4ms) rollback transaction
590
-  (0.1ms) begin transaction
591
- ---------------------------------------------------------------
592
- DummiesControllerTest: test_Predefined_errors_should_be_handled
593
- ---------------------------------------------------------------
594
- Processing by DummiesController#show as HTML
595
- Parameters: {"id"=>"400"}
596
- 400 - Repia::Errors::BadRequest
597
- Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
598
- Processing by DummiesController#show as HTML
599
- Parameters: {"id"=>"401"}
600
- 401 - Repia::Errors::Unauthorized
601
- Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
602
- Processing by DummiesController#show as HTML
603
- Parameters: {"id"=>"404"}
604
- 404 - Repia::Errors::NotFound
605
- Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
606
- Processing by DummiesController#show as HTML
607
- Parameters: {"id"=>"409"}
608
- 409 - Repia::Errors::Conflict
609
- Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
610
- Processing by DummiesController#show as HTML
611
- Parameters: {"id"=>"500"}
612
- 500 - Repia::Errors::InternalServerError
613
- Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
614
-  (0.1ms) rollback transaction
615
-  (0.0ms) begin transaction
616
- -------------------------------------------------
617
- DummiesControllerTest: test_handle_standard_error
618
- -------------------------------------------------
619
- Processing by DummiesController#create as HTML
620
- String can't be coerced into Fixnum
621
- Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
622
-  (0.0ms) rollback transaction
623
-  (0.0ms) begin transaction
624
- ------------------------------------------------------
625
- DummiesControllerTest: test_options_request_is_handled
626
- ------------------------------------------------------
627
- Processing by DummiesController#options as HTML
628
- Rendered text template (0.0ms)
629
- Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.0ms)
630
- Processing by DummiesController#options as HTML
631
- Rendered text template (0.0ms)
632
- Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
633
-  (0.1ms) rollback transaction
634
-  (0.0ms) begin transaction
635
- --------------------------------------------------
636
- DummiesControllerTest: test_render_multiple_errors
637
- --------------------------------------------------
638
- Processing by DummiesController#index as HTML
639
- Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
640
-  (0.0ms) rollback transaction
641
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
642
-  (0.1ms) begin transaction
643
- ---------------------------------------------------------------
644
- DummiesControllerTest: test_Predefined_errors_should_be_handled
645
- ---------------------------------------------------------------
646
- Processing by DummiesController#show as HTML
647
- Parameters: {"id"=>"400"}
648
- 400 - Repia::Errors::BadRequest
649
- Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
650
- Processing by DummiesController#show as HTML
651
- Parameters: {"id"=>"401"}
652
- 401 - Repia::Errors::Unauthorized
653
- Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
654
- Processing by DummiesController#show as HTML
655
- Parameters: {"id"=>"404"}
656
- 404 - Repia::Errors::NotFound
657
- Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
658
- Processing by DummiesController#show as HTML
659
- Parameters: {"id"=>"409"}
660
- 409 - Repia::Errors::Conflict
661
- Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
662
- Processing by DummiesController#show as HTML
663
- Parameters: {"id"=>"500"}
664
- 500 - Repia::Errors::InternalServerError
665
- Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
666
-  (0.1ms) rollback transaction
667
-  (0.0ms) begin transaction
668
- --------------------------------------------------
669
- DummiesControllerTest: test_render_multiple_errors
670
- --------------------------------------------------
671
- Processing by DummiesController#index as HTML
672
- Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
673
-  (0.0ms) rollback transaction
674
-  (0.0ms) begin transaction
675
- ------------------------------------------------------
676
- DummiesControllerTest: test_options_request_is_handled
677
- ------------------------------------------------------
678
- Processing by DummiesController#options as HTML
679
- Rendered text template (0.0ms)
680
- Completed 200 OK in 4ms (Views: 4.3ms | ActiveRecord: 0.0ms)
681
- Processing by DummiesController#options as HTML
682
- Rendered text template (0.0ms)
683
- Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
684
-  (0.1ms) rollback transaction
685
-  (0.0ms) begin transaction
686
- -------------------------------------------------
687
- DummiesControllerTest: test_handle_standard_error
688
- -------------------------------------------------
689
- Processing by DummiesController#create as HTML
690
- String can't be coerced into Fixnum
691
- Completed 500 Internal Server Error in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
692
-  (0.0ms) rollback transaction
693
-  (0.0ms) begin transaction
694
- ------------------------------------------------------------
695
- RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
696
- ------------------------------------------------------------
697
-  (0.0ms) SAVEPOINT active_record_1
698
- SQL (0.3ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-04-27 03:29:03.119996"], ["updated_at", "2016-04-27 03:29:03.119996"], ["uuid", "3060017a-0c28-11e6-9db0-6c4008a6fa2a"]]
699
-  (0.1ms) RELEASE SAVEPOINT active_record_1
700
-  (1.1ms) rollback transaction
701
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
702
-  (0.1ms) begin transaction
703
- ------------------------------------------------------------
704
- RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
705
- ------------------------------------------------------------
706
-  (0.1ms) SAVEPOINT active_record_1
707
- SQL (0.3ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-04-27 03:29:16.233653"], ["updated_at", "2016-04-27 03:29:16.233653"], ["uuid", "3830ffb2-0c28-11e6-a0e4-6c4008a6fa2a"]]
708
-  (0.1ms) RELEASE SAVEPOINT active_record_1
709
-  (1.1ms) rollback transaction
710
-  (0.1ms) begin transaction
711
- --------------------------------------------------
712
- DummiesControllerTest: test_render_multiple_errors
713
- --------------------------------------------------
714
- Processing by DummiesController#index as HTML
715
- Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
716
-  (0.1ms) rollback transaction
717
-  (0.1ms) begin transaction
718
- -------------------------------------------------
719
- DummiesControllerTest: test_handle_standard_error
720
- -------------------------------------------------
721
- Processing by DummiesController#create as HTML
722
- String can't be coerced into Fixnum
723
- Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
724
-  (0.0ms) rollback transaction
725
-  (0.1ms) begin transaction
726
- ------------------------------------------------
727
- DummiesControllerTest: test_handle_routing_error
728
- ------------------------------------------------
729
-  (0.0ms) rollback transaction
730
-  (0.0ms) begin transaction
731
- ------------------------------------------------------
732
- DummiesControllerTest: test_options_request_is_handled
733
- ------------------------------------------------------
734
- Processing by DummiesController#options as HTML
735
- Rendered text template (0.0ms)
736
- Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)
737
- Processing by DummiesController#options as HTML
738
- Rendered text template (0.0ms)
739
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
740
-  (0.1ms) rollback transaction
741
-  (0.1ms) begin transaction
742
- ---------------------------------------------------------------
743
- DummiesControllerTest: test_Predefined_errors_should_be_handled
744
- ---------------------------------------------------------------
745
- Processing by DummiesController#show as HTML
746
- Parameters: {"id"=>"400"}
747
- 400 - Repia::Errors::BadRequest
748
- Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
749
- Processing by DummiesController#show as HTML
750
- Parameters: {"id"=>"401"}
751
- 401 - Repia::Errors::Unauthorized
752
- Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
753
- Processing by DummiesController#show as HTML
754
- Parameters: {"id"=>"404"}
755
- 404 - Repia::Errors::NotFound
756
- Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
757
- Processing by DummiesController#show as HTML
758
- Parameters: {"id"=>"409"}
759
- 409 - Repia::Errors::Conflict
760
- Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
761
- Processing by DummiesController#show as HTML
762
- Parameters: {"id"=>"500"}
763
- 500 - Repia::Errors::InternalServerError
764
- Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
765
-  (0.0ms) rollback transaction
766
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
767
-  (0.1ms) begin transaction
768
- --------------------------------------------------
769
- DummiesControllerTest: test_render_multiple_errors
770
- --------------------------------------------------
771
- Processing by DummiesController#index as HTML
772
- Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
773
-  (0.1ms) rollback transaction
774
-  (0.0ms) begin transaction
775
- ------------------------------------------------------
776
- DummiesControllerTest: test_options_request_is_handled
777
- ------------------------------------------------------
778
- Processing by DummiesController#options as HTML
779
- Rendered text template (0.0ms)
780
- Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.0ms)
781
- Processing by DummiesController#options as HTML
782
- Rendered text template (0.0ms)
783
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
784
-  (0.1ms) rollback transaction
785
-  (0.0ms) begin transaction
786
- ---------------------------------------------------------------
787
- DummiesControllerTest: test_Predefined_errors_should_be_handled
788
- ---------------------------------------------------------------
789
- Processing by DummiesController#show as HTML
790
- Parameters: {"id"=>"400"}
791
- 400 - Repia::Errors::BadRequest
792
- Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
793
- Processing by DummiesController#show as HTML
794
- Parameters: {"id"=>"401"}
795
- 401 - Repia::Errors::Unauthorized
796
- Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
797
- Processing by DummiesController#show as HTML
798
- Parameters: {"id"=>"404"}
799
- 404 - Repia::Errors::NotFound
800
- Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
801
- Processing by DummiesController#show as HTML
802
- Parameters: {"id"=>"409"}
803
- 409 - Repia::Errors::Conflict
804
- Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
805
- Processing by DummiesController#show as HTML
806
- Parameters: {"id"=>"500"}
807
- 500 - Repia::Errors::InternalServerError
808
- Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
809
-  (0.0ms) rollback transaction
810
-  (0.0ms) begin transaction
811
- ------------------------------------------------
812
- DummiesControllerTest: test_handle_routing_error
813
- ------------------------------------------------
814
-  (0.0ms) rollback transaction
815
-  (0.0ms) begin transaction
816
- -------------------------------------------------
817
- DummiesControllerTest: test_handle_standard_error
818
- -------------------------------------------------
819
- Processing by DummiesController#create as HTML
820
- String can't be coerced into Fixnum
821
- Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
822
-  (0.0ms) rollback transaction
823
-  (0.0ms) begin transaction
824
- ------------------------------------------------------------
825
- RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
826
- ------------------------------------------------------------
827
-  (0.1ms) SAVEPOINT active_record_1
828
- SQL (0.8ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-04-29 02:31:57.648010"], ["updated_at", "2016-04-29 02:31:57.648010"], ["uuid", "8b75f962-0db2-11e6-8639-6c4008a6fa2a"]]
829
-  (0.1ms) RELEASE SAVEPOINT active_record_1
830
-  (0.9ms) rollback transaction
831
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
832
-  (0.1ms) begin transaction
833
- ---------------------------------------------------------------
834
- DummiesControllerTest: test_Predefined_errors_should_be_handled
835
- ---------------------------------------------------------------
836
- Processing by DummiesController#show as HTML
837
- Parameters: {"id"=>"400"}
838
- 400 - Repia::Errors::BadRequest
839
- Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
840
- Processing by DummiesController#show as HTML
841
- Parameters: {"id"=>"401"}
842
- 401 - Repia::Errors::Unauthorized
843
- Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
844
- Processing by DummiesController#show as HTML
845
- Parameters: {"id"=>"404"}
846
- 404 - Repia::Errors::NotFound
847
- Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
848
- Processing by DummiesController#show as HTML
849
- Parameters: {"id"=>"409"}
850
- 409 - Repia::Errors::Conflict
851
- Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
852
- Processing by DummiesController#show as HTML
853
- Parameters: {"id"=>"500"}
854
- 500 - Repia::Errors::InternalServerError
855
- Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
856
-  (0.1ms) rollback transaction
857
-  (0.0ms) begin transaction
858
- ------------------------------------------------------
859
- DummiesControllerTest: test_options_request_is_handled
860
- ------------------------------------------------------
861
- Processing by DummiesController#options as HTML
862
- Rendered text template (0.0ms)
863
- Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)
864
- Processing by DummiesController#options as HTML
865
- Rendered text template (0.0ms)
866
- Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
867
-  (0.1ms) rollback transaction
868
-  (0.0ms) begin transaction
869
- ------------------------------------------------
870
- DummiesControllerTest: test_handle_routing_error
871
- ------------------------------------------------
872
-  (0.1ms) rollback transaction
873
-  (0.0ms) begin transaction
874
- -------------------------------------------------
875
- DummiesControllerTest: test_handle_standard_error
876
- -------------------------------------------------
877
- Processing by DummiesController#create as HTML
878
- String can't be coerced into Fixnum
879
- Completed 500 Internal Server Error in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
880
-  (0.1ms) rollback transaction
881
-  (0.0ms) begin transaction
882
- --------------------------------------------------
883
- DummiesControllerTest: test_render_multiple_errors
884
- --------------------------------------------------
885
- Processing by DummiesController#index as HTML
886
- Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
887
-  (0.1ms) rollback transaction
888
-  (0.0ms) begin transaction
889
- ------------------------------------------------------------
890
- RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
891
- ------------------------------------------------------------
892
-  (0.1ms) SAVEPOINT active_record_1
893
- SQL (0.4ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-04-29 02:33:06.477185"], ["updated_at", "2016-04-29 02:33:06.477185"], ["uuid", "b47c7796-0db2-11e6-bc93-6c4008a6fa2a"]]
894
-  (0.1ms) RELEASE SAVEPOINT active_record_1
895
-  (1.1ms) rollback transaction
896
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
897
-  (0.1ms) begin transaction
898
- ---------------------------------------------------------------
899
- DummiesControllerTest: test_Predefined_errors_should_be_handled
900
- ---------------------------------------------------------------
901
- Processing by DummiesController#show as HTML
902
- Parameters: {"id"=>"400"}
903
- 400 - Repia::Errors::BadRequest
904
- Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
905
- Processing by DummiesController#show as HTML
906
- Parameters: {"id"=>"401"}
907
- 401 - Repia::Errors::Unauthorized
908
- Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
909
- Processing by DummiesController#show as HTML
910
- Parameters: {"id"=>"404"}
911
- 404 - Repia::Errors::NotFound
912
- Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
913
- Processing by DummiesController#show as HTML
914
- Parameters: {"id"=>"409"}
915
- 409 - Repia::Errors::Conflict
916
- Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
917
- Processing by DummiesController#show as HTML
918
- Parameters: {"id"=>"500"}
919
- 500 - Repia::Errors::InternalServerError
920
- Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
921
-  (0.1ms) rollback transaction
922
-  (0.0ms) begin transaction
923
- -------------------------------------------------
924
- DummiesControllerTest: test_handle_standard_error
925
- -------------------------------------------------
926
- Processing by DummiesController#create as HTML
927
- String can't be coerced into Fixnum
928
- Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
929
-  (0.0ms) rollback transaction
930
-  (0.0ms) begin transaction
931
- --------------------------------------------------
932
- DummiesControllerTest: test_render_multiple_errors
933
- --------------------------------------------------
934
- Processing by DummiesController#index as HTML
935
- Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
936
-  (0.0ms) rollback transaction
937
-  (0.0ms) begin transaction
938
- ------------------------------------------------------
939
- DummiesControllerTest: test_options_request_is_handled
940
- ------------------------------------------------------
941
- Processing by DummiesController#options as HTML
942
- Rendered text template (0.0ms)
943
- Completed 200 OK in 5ms (Views: 5.1ms | ActiveRecord: 0.0ms)
944
- Processing by DummiesController#options as HTML
945
- Rendered text template (0.0ms)
946
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
947
-  (0.1ms) rollback transaction
948
-  (0.0ms) begin transaction
949
- ------------------------------------------------------------
950
- RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
951
- ------------------------------------------------------------
952
-  (0.0ms) SAVEPOINT active_record_1
953
- SQL (0.3ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-04-29 02:33:36.266428"], ["updated_at", "2016-04-29 02:33:36.266428"], ["uuid", "c63df022-0db2-11e6-846e-6c4008a6fa2a"]]
954
-  (0.1ms) RELEASE SAVEPOINT active_record_1
955
-  (1.2ms) rollback transaction
956
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
957
-  (0.1ms) begin transaction
958
- ---------------------------------------------------------------
959
- DummiesControllerTest: test_Predefined_errors_should_be_handled
960
- ---------------------------------------------------------------
961
- Processing by DummiesController#show as HTML
962
- Parameters: {"id"=>"400"}
963
- 400 - Repia::Errors::BadRequest
964
- Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
965
- Processing by DummiesController#show as HTML
966
- Parameters: {"id"=>"401"}
967
- 401 - Repia::Errors::Unauthorized
968
- Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
969
- Processing by DummiesController#show as HTML
970
- Parameters: {"id"=>"404"}
971
- 404 - Repia::Errors::NotFound
972
- Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
973
- Processing by DummiesController#show as HTML
974
- Parameters: {"id"=>"409"}
975
- 409 - Repia::Errors::Conflict
976
- Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
977
- Processing by DummiesController#show as HTML
978
- Parameters: {"id"=>"500"}
979
- 500 - Repia::Errors::InternalServerError
980
- Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
981
-  (0.1ms) rollback transaction
982
-  (0.0ms) begin transaction
983
- --------------------------------------------------
984
- DummiesControllerTest: test_render_multiple_errors
985
- --------------------------------------------------
986
- Processing by DummiesController#index as HTML
987
- Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
988
-  (0.1ms) rollback transaction
989
-  (0.0ms) begin transaction
990
- -------------------------------------------------
991
- DummiesControllerTest: test_handle_standard_error
992
- -------------------------------------------------
993
- Processing by DummiesController#create as HTML
994
- String can't be coerced into Fixnum
995
- Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
996
-  (0.0ms) rollback transaction
997
-  (0.0ms) begin transaction
998
- ------------------------------------------------------
999
- DummiesControllerTest: test_options_request_is_handled
1000
- ------------------------------------------------------
1001
- Processing by DummiesController#options as HTML
1002
- Rendered text template (0.1ms)
1003
- Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms)
1004
- Processing by DummiesController#options as HTML
1005
- Rendered text template (0.0ms)
1006
- Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1007
-  (0.1ms) rollback transaction
1008
-  (0.0ms) begin transaction
1009
- ------------------------------------------------------------
1010
- RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
1011
- ------------------------------------------------------------
1012
-  (0.1ms) SAVEPOINT active_record_1
1013
- SQL (0.3ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-04-29 03:10:26.843611"], ["updated_at", "2016-04-29 03:10:26.843611"], ["uuid", "ebd94412-0db7-11e6-a6c5-6c4008a6fa2a"]]
1014
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1015
-  (0.4ms) rollback transaction
1016
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1017
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1018
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
1019
-  (0.1ms) begin transaction
1020
- ------------------------------------------------------------
1021
- RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
1022
- ------------------------------------------------------------
1023
-  (0.1ms) SAVEPOINT active_record_1
1024
- SQL (0.7ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-04-30 04:12:51.284740"], ["updated_at", "2016-04-30 04:12:51.284740"], ["uuid", "ce1f6168-0e89-11e6-a5e7-6c4008a6fa2a"]]
1025
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1026
-  (0.7ms) rollback transaction
1027
-  (0.1ms) begin transaction
1028
- ------------------------------------------------------
1029
- DummiesControllerTest: test_options_request_is_handled
1030
- ------------------------------------------------------
1031
- Processing by DummiesController#options as HTML
1032
- Rendered text template (0.0ms)
1033
- Completed 200 OK in 7ms (Views: 6.9ms | ActiveRecord: 0.0ms)
1034
- Processing by DummiesController#options as HTML
1035
- Rendered text template (0.0ms)
1036
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1037
-  (0.1ms) rollback transaction
1038
-  (0.0ms) begin transaction
1039
- ---------------------------------------------------------------
1040
- DummiesControllerTest: test_Predefined_errors_should_be_handled
1041
- ---------------------------------------------------------------
1042
- Processing by DummiesController#show as HTML
1043
- Parameters: {"id"=>"400"}
1044
- 400 - Repia::Errors::BadRequest
1045
- Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1046
- Processing by DummiesController#show as HTML
1047
- Parameters: {"id"=>"401"}
1048
- 401 - Repia::Errors::Unauthorized
1049
- Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1050
- Processing by DummiesController#show as HTML
1051
- Parameters: {"id"=>"404"}
1052
- 404 - Repia::Errors::NotFound
1053
- Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1054
- Processing by DummiesController#show as HTML
1055
- Parameters: {"id"=>"409"}
1056
- 409 - Repia::Errors::Conflict
1057
- Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1058
- Processing by DummiesController#show as HTML
1059
- Parameters: {"id"=>"500"}
1060
- 500 - Repia::Errors::InternalServerError
1061
- Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1062
-  (0.0ms) rollback transaction
1063
-  (0.0ms) begin transaction
1064
- -------------------------------------------------
1065
- DummiesControllerTest: test_handle_standard_error
1066
- -------------------------------------------------
1067
- Processing by DummiesController#create as HTML
1068
- String can't be coerced into Fixnum
1069
- Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1070
-  (0.0ms) rollback transaction
1071
-  (0.0ms) begin transaction
1072
- --------------------------------------------------
1073
- DummiesControllerTest: test_render_multiple_errors
1074
- --------------------------------------------------
1075
- Processing by DummiesController#index as HTML
1076
- Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1077
-  (0.0ms) rollback transaction
1078
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
1079
-  (0.1ms) begin transaction
1080
- -------------------------------------------------
1081
- DummiesControllerTest: test_handle_standard_error
1082
- -------------------------------------------------
1083
- Processing by DummiesController#create as HTML
1084
- String can't be coerced into Fixnum
1085
- Completed 500 Internal Server Error in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1086
-  (0.1ms) rollback transaction
1087
-  (0.0ms) begin transaction
1088
- --------------------------------------------------
1089
- DummiesControllerTest: test_render_multiple_errors
1090
- --------------------------------------------------
1091
- Processing by DummiesController#index as HTML
1092
- Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1093
-  (0.0ms) rollback transaction
1094
-  (0.0ms) begin transaction
1095
- ---------------------------------------------------------------
1096
- DummiesControllerTest: test_Predefined_errors_should_be_handled
1097
- ---------------------------------------------------------------
1098
- Processing by DummiesController#show as HTML
1099
- Parameters: {"id"=>"400"}
1100
- 400 - Repia::Errors::BadRequest
1101
- Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1102
- Processing by DummiesController#show as HTML
1103
- Parameters: {"id"=>"401"}
1104
- 401 - Repia::Errors::Unauthorized
1105
- Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1106
- Processing by DummiesController#show as HTML
1107
- Parameters: {"id"=>"404"}
1108
- 404 - Repia::Errors::NotFound
1109
- Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1110
- Processing by DummiesController#show as HTML
1111
- Parameters: {"id"=>"409"}
1112
- 409 - Repia::Errors::Conflict
1113
- Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1114
- Processing by DummiesController#show as HTML
1115
- Parameters: {"id"=>"500"}
1116
- 500 - Repia::Errors::InternalServerError
1117
- Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1118
-  (0.0ms) rollback transaction
1119
-  (0.0ms) begin transaction
1120
- ------------------------------------------------------
1121
- DummiesControllerTest: test_options_request_is_handled
1122
- ------------------------------------------------------
1123
- Processing by DummiesController#options as HTML
1124
- Rendered text template (0.0ms)
1125
- Completed 200 OK in 10ms (Views: 10.0ms | ActiveRecord: 0.0ms)
1126
- Processing by DummiesController#options as HTML
1127
- Rendered text template (0.0ms)
1128
- Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1129
-  (0.2ms) rollback transaction
1130
-  (0.0ms) begin transaction
1131
- ------------------------------------------------------------
1132
- RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
1133
- ------------------------------------------------------------
1134
-  (0.1ms) SAVEPOINT active_record_1
1135
- SQL (0.8ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-05-03 00:12:28.384404"], ["updated_at", "2016-05-03 00:12:28.384404"], ["uuid", "b8a4b018-10c3-11e6-91a9-6c4008a6fa2a"]]
1136
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1137
-  (0.4ms) rollback transaction
1138
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1139
-  (0.1ms) begin transaction
1140
- ------------------------------------
1141
- RepiaTest: test_ExceptionsMiddleware
1142
- ------------------------------------
1143
- ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007fefa790b9d0>, "rack.errors"=>#<StringIO:0x007fefa790bde0>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
1144
-  (0.0ms) rollback transaction
1145
-  (0.0ms) begin transaction
1146
- ------------------------------------------------------------
1147
- RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
1148
- ------------------------------------------------------------
1149
-  (0.0ms) SAVEPOINT active_record_1
1150
- SQL (0.4ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-05-03 00:21:41.455231"], ["updated_at", "2016-05-03 00:21:41.455231"], ["uuid", "024c9888-10c5-11e6-8b29-6c4008a6fa2a"]]
1151
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1152
-  (0.8ms) rollback transaction
1153
-  (0.1ms) begin transaction
1154
- ------------------------------------------------------
1155
- DummiesControllerTest: test_options_request_is_handled
1156
- ------------------------------------------------------
1157
- Processing by DummiesController#options as HTML
1158
- Rendered text template (0.0ms)
1159
- Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms)
1160
- Processing by DummiesController#options as HTML
1161
- Rendered text template (0.0ms)
1162
- Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1163
-  (0.1ms) rollback transaction
1164
-  (0.0ms) begin transaction
1165
- -------------------------------------------------
1166
- DummiesControllerTest: test_handle_standard_error
1167
- -------------------------------------------------
1168
- Processing by DummiesController#create as HTML
1169
- String can't be coerced into Fixnum
1170
- Completed 500 Internal Server Error in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1171
-  (0.0ms) rollback transaction
1172
-  (0.0ms) begin transaction
1173
- ---------------------------------------------------------------
1174
- DummiesControllerTest: test_Predefined_errors_should_be_handled
1175
- ---------------------------------------------------------------
1176
- Processing by DummiesController#show as HTML
1177
- Parameters: {"id"=>"400"}
1178
- 400 - Repia::Errors::BadRequest
1179
- Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1180
- Processing by DummiesController#show as HTML
1181
- Parameters: {"id"=>"401"}
1182
- 401 - Repia::Errors::Unauthorized
1183
- Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1184
- Processing by DummiesController#show as HTML
1185
- Parameters: {"id"=>"404"}
1186
- 404 - Repia::Errors::NotFound
1187
- Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1188
- Processing by DummiesController#show as HTML
1189
- Parameters: {"id"=>"409"}
1190
- 409 - Repia::Errors::Conflict
1191
- Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1192
- Processing by DummiesController#show as HTML
1193
- Parameters: {"id"=>"500"}
1194
- 500 - Repia::Errors::InternalServerError
1195
- Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1196
-  (0.0ms) rollback transaction
1197
-  (0.0ms) begin transaction
1198
- --------------------------------------------------
1199
- DummiesControllerTest: test_render_multiple_errors
1200
- --------------------------------------------------
1201
- Processing by DummiesController#index as HTML
1202
- Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1203
-  (0.1ms) rollback transaction
1204
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1205
-  (0.1ms) begin transaction
1206
- ---------------------------------------------------------------
1207
- DummiesControllerTest: test_Predefined_errors_should_be_handled
1208
- ---------------------------------------------------------------
1209
- Processing by DummiesController#show as HTML
1210
- Parameters: {"id"=>"400"}
1211
- 400 - Repia::Errors::BadRequest
1212
- Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1213
- Processing by DummiesController#show as HTML
1214
- Parameters: {"id"=>"401"}
1215
- 401 - Repia::Errors::Unauthorized
1216
- Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1217
- Processing by DummiesController#show as HTML
1218
- Parameters: {"id"=>"404"}
1219
- 404 - Repia::Errors::NotFound
1220
- Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1221
- Processing by DummiesController#show as HTML
1222
- Parameters: {"id"=>"409"}
1223
- 409 - Repia::Errors::Conflict
1224
- Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1225
- Processing by DummiesController#show as HTML
1226
- Parameters: {"id"=>"500"}
1227
- 500 - Repia::Errors::InternalServerError
1228
- Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1229
-  (0.1ms) rollback transaction
1230
-  (0.0ms) begin transaction
1231
- --------------------------------------------------
1232
- DummiesControllerTest: test_render_multiple_errors
1233
- --------------------------------------------------
1234
- Processing by DummiesController#index as HTML
1235
- Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1236
-  (0.0ms) rollback transaction
1237
-  (0.0ms) begin transaction
1238
- ------------------------------------------------------
1239
- DummiesControllerTest: test_options_request_is_handled
1240
- ------------------------------------------------------
1241
- Processing by DummiesController#options as HTML
1242
- Rendered text template (0.0ms)
1243
- Completed 200 OK in 5ms (Views: 5.2ms | ActiveRecord: 0.0ms)
1244
- Processing by DummiesController#options as HTML
1245
- Rendered text template (0.0ms)
1246
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1247
-  (0.1ms) rollback transaction
1248
-  (0.0ms) begin transaction
1249
- -------------------------------------------------
1250
- DummiesControllerTest: test_handle_standard_error
1251
- -------------------------------------------------
1252
- Processing by DummiesController#create as HTML
1253
- String can't be coerced into Fixnum
1254
- Completed 500 Internal Server Error in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1255
-  (0.0ms) rollback transaction
1256
-  (0.0ms) begin transaction
1257
- ------------------------------------
1258
- RepiaTest: test_ExceptionsMiddleware
1259
- ------------------------------------
1260
- ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007fe455ae0ce0>, "rack.errors"=>#<StringIO:0x007fe455ae10f0>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
1261
-  (0.0ms) rollback transaction
1262
-  (0.0ms) begin transaction
1263
- ------------------------------------------------------------
1264
- RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
1265
- ------------------------------------------------------------
1266
-  (0.1ms) SAVEPOINT active_record_1
1267
- SQL (0.3ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-05-03 00:21:58.376122"], ["updated_at", "2016-05-03 00:21:58.376122"], ["uuid", "0c628b7a-10c5-11e6-b879-6c4008a6fa2a"]]
1268
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1269
-  (0.9ms) rollback transaction
1270
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1271
-  (0.1ms) begin transaction
1272
- ------------------------------------------------------
1273
- DummiesControllerTest: test_options_request_is_handled
1274
- ------------------------------------------------------
1275
- Processing by DummiesController#options as HTML
1276
- Rendered text template (0.0ms)
1277
- Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)
1278
- Processing by DummiesController#options as HTML
1279
- Rendered text template (0.0ms)
1280
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1281
-  (0.1ms) rollback transaction
1282
-  (0.1ms) begin transaction
1283
- -------------------------------------------------
1284
- DummiesControllerTest: test_handle_standard_error
1285
- -------------------------------------------------
1286
- Processing by DummiesController#create as HTML
1287
- String can't be coerced into Fixnum
1288
- Completed 500 Internal Server Error in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1289
-  (0.0ms) rollback transaction
1290
-  (0.0ms) begin transaction
1291
- ---------------------------------------------------------------
1292
- DummiesControllerTest: test_Predefined_errors_should_be_handled
1293
- ---------------------------------------------------------------
1294
- Processing by DummiesController#show as HTML
1295
- Parameters: {"id"=>"400"}
1296
- 400 - Repia::Errors::BadRequest
1297
- Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1298
- Processing by DummiesController#show as HTML
1299
- Parameters: {"id"=>"401"}
1300
- 401 - Repia::Errors::Unauthorized
1301
- Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1302
- Processing by DummiesController#show as HTML
1303
- Parameters: {"id"=>"404"}
1304
- 404 - Repia::Errors::NotFound
1305
- Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1306
- Processing by DummiesController#show as HTML
1307
- Parameters: {"id"=>"409"}
1308
- 409 - Repia::Errors::Conflict
1309
- Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1310
- Processing by DummiesController#show as HTML
1311
- Parameters: {"id"=>"500"}
1312
- 500 - Repia::Errors::InternalServerError
1313
- Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1314
-  (0.0ms) rollback transaction
1315
-  (0.0ms) begin transaction
1316
- --------------------------------------------------
1317
- DummiesControllerTest: test_render_multiple_errors
1318
- --------------------------------------------------
1319
- Processing by DummiesController#index as HTML
1320
- Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1321
-  (0.0ms) rollback transaction
1322
-  (0.0ms) begin transaction
1323
- ----------------------------------------------------------------------------------------
1324
- RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
1325
- ----------------------------------------------------------------------------------------
1326
-  (0.0ms) rollback transaction
1327
-  (0.0ms) begin transaction
1328
- ------------------------------------------------------------
1329
- RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
1330
- ------------------------------------------------------------
1331
-  (0.0ms) SAVEPOINT active_record_1
1332
- SQL (0.4ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-05-03 01:04:30.109611"], ["updated_at", "2016-05-03 01:04:30.109611"], ["uuid", "fd562578-10ca-11e6-995b-6c4008a6fa2a"]]
1333
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1334
-  (0.4ms) rollback transaction
1335
-  (0.1ms) begin transaction
1336
- ----------------------------------------------------------------------------------
1337
- RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
1338
- ----------------------------------------------------------------------------------
1339
- ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007fd6fa77d390>, "rack.errors"=>#<StringIO:0x007fd6fa77d4a8>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
1340
-  (0.0ms) rollback transaction
1341
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1342
-  (0.1ms) begin transaction
1343
- --------------------------------------------------
1344
- DummiesControllerTest: test_render_multiple_errors
1345
- --------------------------------------------------
1346
- Processing by DummiesController#index as HTML
1347
- Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1348
-  (0.1ms) rollback transaction
1349
-  (0.0ms) begin transaction
1350
- -------------------------------------------------
1351
- DummiesControllerTest: test_handle_standard_error
1352
- -------------------------------------------------
1353
- Processing by DummiesController#create as HTML
1354
- String can't be coerced into Fixnum
1355
- Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1356
-  (0.0ms) rollback transaction
1357
-  (0.0ms) begin transaction
1358
- ------------------------------------------------------
1359
- DummiesControllerTest: test_options_request_is_handled
1360
- ------------------------------------------------------
1361
- Processing by DummiesController#options as HTML
1362
- Rendered text template (0.0ms)
1363
- Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.0ms)
1364
- Processing by DummiesController#options as HTML
1365
- Rendered text template (0.0ms)
1366
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1367
-  (0.1ms) rollback transaction
1368
-  (0.1ms) begin transaction
1369
- ---------------------------------------------------------------
1370
- DummiesControllerTest: test_Predefined_errors_should_be_handled
1371
- ---------------------------------------------------------------
1372
- Processing by DummiesController#show as HTML
1373
- Parameters: {"id"=>"400"}
1374
- 400 - Repia::Errors::BadRequest
1375
- Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1376
- Processing by DummiesController#show as HTML
1377
- Parameters: {"id"=>"401"}
1378
- 401 - Repia::Errors::Unauthorized
1379
- Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1380
- Processing by DummiesController#show as HTML
1381
- Parameters: {"id"=>"404"}
1382
- 404 - Repia::Errors::NotFound
1383
- Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1384
- Processing by DummiesController#show as HTML
1385
- Parameters: {"id"=>"409"}
1386
- 409 - Repia::Errors::Conflict
1387
- Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1388
- Processing by DummiesController#show as HTML
1389
- Parameters: {"id"=>"500"}
1390
- 500 - Repia::Errors::InternalServerError
1391
- Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1392
-  (0.1ms) rollback transaction
1393
-  (0.1ms) begin transaction
1394
- ----------------------------------------------------------------------------------
1395
- RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
1396
- ----------------------------------------------------------------------------------
1397
- ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007fb201459da8>, "rack.errors"=>#<StringIO:0x007fb201459ec0>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
1398
-  (0.0ms) rollback transaction
1399
-  (0.0ms) begin transaction
1400
- ----------------------------------------------------------------------------------------
1401
- RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
1402
- ----------------------------------------------------------------------------------------
1403
-  (0.0ms) rollback transaction
1404
-  (0.0ms) begin transaction
1405
- ------------------------------------------------------------
1406
- RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
1407
- ------------------------------------------------------------
1408
-  (0.0ms) SAVEPOINT active_record_1
1409
- SQL (0.4ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-05-03 01:05:00.212575"], ["updated_at", "2016-05-03 01:05:00.212575"], ["uuid", "0f477f48-10cb-11e6-8aff-6c4008a6fa2a"]]
1410
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1411
-  (0.8ms) rollback transaction
1412
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1413
-  (0.1ms) begin transaction
1414
- -------------------------------------------------
1415
- DummiesControllerTest: test_handle_standard_error
1416
- -------------------------------------------------
1417
- Processing by DummiesController#create as HTML
1418
- String can't be coerced into Fixnum
1419
- Completed 500 Internal Server Error in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1420
-  (0.1ms) rollback transaction
1421
-  (0.0ms) begin transaction
1422
- ---------------------------------------------------------------
1423
- DummiesControllerTest: test_Predefined_errors_should_be_handled
1424
- ---------------------------------------------------------------
1425
- Processing by DummiesController#show as HTML
1426
- Parameters: {"id"=>"400"}
1427
- 400 - Repia::Errors::BadRequest
1428
- Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1429
- Processing by DummiesController#show as HTML
1430
- Parameters: {"id"=>"401"}
1431
- 401 - Repia::Errors::Unauthorized
1432
- Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1433
- Processing by DummiesController#show as HTML
1434
- Parameters: {"id"=>"404"}
1435
- 404 - Repia::Errors::NotFound
1436
- Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1437
- Processing by DummiesController#show as HTML
1438
- Parameters: {"id"=>"409"}
1439
- 409 - Repia::Errors::Conflict
1440
- Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1441
- Processing by DummiesController#show as HTML
1442
- Parameters: {"id"=>"500"}
1443
- 500 - Repia::Errors::InternalServerError
1444
- Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1445
-  (0.1ms) rollback transaction
1446
-  (0.0ms) begin transaction
1447
- --------------------------------------------------
1448
- DummiesControllerTest: test_render_multiple_errors
1449
- --------------------------------------------------
1450
- Processing by DummiesController#index as HTML
1451
- Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1452
-  (0.0ms) rollback transaction
1453
-  (0.0ms) begin transaction
1454
- ------------------------------------------------------
1455
- DummiesControllerTest: test_options_request_is_handled
1456
- ------------------------------------------------------
1457
- Processing by DummiesController#options as HTML
1458
- Rendered text template (0.0ms)
1459
- Completed 200 OK in 6ms (Views: 6.0ms | ActiveRecord: 0.0ms)
1460
- Processing by DummiesController#options as HTML
1461
- Rendered text template (0.0ms)
1462
- Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1463
-  (0.1ms) rollback transaction
1464
-  (0.1ms) begin transaction
1465
- ------------------------------------------------------------
1466
- RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
1467
- ------------------------------------------------------------
1468
-  (0.1ms) SAVEPOINT active_record_1
1469
- SQL (0.4ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-05-03 01:05:37.707044"], ["updated_at", "2016-05-03 01:05:37.707044"], ["uuid", "25a0b368-10cb-11e6-90d0-6c4008a6fa2a"]]
1470
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1471
-  (1.1ms) rollback transaction
1472
-  (0.1ms) begin transaction
1473
- ----------------------------------------------------------------------------------
1474
- RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
1475
- ----------------------------------------------------------------------------------
1476
- ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007f9b0e8a1f00>, "rack.errors"=>#<StringIO:0x007f9b0e8a2090>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
1477
-  (0.0ms) rollback transaction
1478
-  (0.1ms) begin transaction
1479
- ----------------------------------------------------------------------------------------
1480
- RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
1481
- ----------------------------------------------------------------------------------------
1482
-  (0.0ms) rollback transaction
1483
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1484
-  (0.1ms) begin transaction
1485
- ----------------------------------------------------------------------------------
1486
- RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
1487
- ----------------------------------------------------------------------------------
1488
- ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007f8fe52abda0>, "rack.errors"=>#<StringIO:0x007f8fe52abe90>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
1489
-  (0.0ms) rollback transaction
1490
-  (0.1ms) begin transaction
1491
- ------------------------------------------------------------
1492
- RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
1493
- ------------------------------------------------------------
1494
-  (0.0ms) SAVEPOINT active_record_1
1495
- SQL (0.3ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-05-03 01:08:03.622404"], ["updated_at", "2016-05-03 01:08:03.622404"], ["uuid", "7c999fae-10cb-11e6-b527-6c4008a6fa2a"]]
1496
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1497
-  (0.9ms) rollback transaction
1498
-  (0.1ms) begin transaction
1499
- ----------------------------------------------------------------------------------------
1500
- RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
1501
- ----------------------------------------------------------------------------------------
1502
-  (0.0ms) rollback transaction
1503
-  (0.0ms) begin transaction
1504
- ---------------------------------------------------------------
1505
- DummiesControllerTest: test_Predefined_errors_should_be_handled
1506
- ---------------------------------------------------------------
1507
- Processing by DummiesController#show as HTML
1508
- Parameters: {"id"=>"400"}
1509
- 400 - Repia::Errors::BadRequest
1510
- Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1511
- Processing by DummiesController#show as HTML
1512
- Parameters: {"id"=>"401"}
1513
- 401 - Repia::Errors::Unauthorized
1514
- Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1515
- Processing by DummiesController#show as HTML
1516
- Parameters: {"id"=>"404"}
1517
- 404 - Repia::Errors::NotFound
1518
- Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1519
- Processing by DummiesController#show as HTML
1520
- Parameters: {"id"=>"409"}
1521
- 409 - Repia::Errors::Conflict
1522
- Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1523
- Processing by DummiesController#show as HTML
1524
- Parameters: {"id"=>"500"}
1525
- 500 - Repia::Errors::InternalServerError
1526
- Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1527
-  (0.2ms) rollback transaction
1528
-  (0.2ms) begin transaction
1529
- -------------------------------------------------
1530
- DummiesControllerTest: test_handle_standard_error
1531
- -------------------------------------------------
1532
- Processing by DummiesController#create as HTML
1533
- String can't be coerced into Fixnum
1534
- Completed 500 Internal Server Error in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1535
-  (0.1ms) rollback transaction
1536
-  (0.1ms) begin transaction
1537
- ---------------------------------------------------------------------------
1538
- DummiesControllerTest: test_find_object_will_error_if_object_does_not_exist
1539
- ---------------------------------------------------------------------------
1540
- Processing by DummiesController#update as HTML
766
+  (0.0ms) rollback transaction
767
+  (0.0ms) begin transaction
768
+ ----------------------------------------
769
+ TestsControllerTest: test_exceptions_app
770
+ ----------------------------------------
771
+ Processing by TestsController#show as HTML
1541
772
  Parameters: {"id"=>"blah"}
1542
- Attempting to get UniqueModel blah
1543
- UniqueModel Load (0.2ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT 1 [["uuid", "blah"]]
1544
- 404 - UniqueModel blah cannot be found
1545
- Completed 404 Not Found in 7ms (Views: 0.2ms | ActiveRecord: 0.2ms)
1546
-  (0.1ms) rollback transaction
1547
-  (0.1ms) begin transaction
1548
- --------------------------------------------------
1549
- DummiesControllerTest: test_render_multiple_errors
1550
- --------------------------------------------------
1551
- Processing by DummiesController#index as HTML
773
+ Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
774
+  (0.0ms) rollback transaction
775
+  (0.0ms) begin transaction
776
+ ------------------------------------------------
777
+ TestsControllerTest: test_render_multiple_errors
778
+ ------------------------------------------------
779
+ Processing by TestsController#index as HTML
1552
780
  Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1553
-  (0.0ms) rollback transaction
1554
-  (0.1ms) begin transaction
1555
- ------------------------------------------------------
1556
- DummiesControllerTest: test_options_request_is_handled
1557
- ------------------------------------------------------
1558
- Processing by DummiesController#options as HTML
1559
- Rendered text template (0.0ms)
1560
- Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)
1561
- Processing by DummiesController#options as HTML
1562
- Rendered text template (0.0ms)
1563
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1564
-  (0.1ms) rollback transaction
1565
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1566
-  (0.1ms) begin transaction
1567
- ----------------------------------------------------------------------------------
1568
- RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
1569
- ----------------------------------------------------------------------------------
1570
- ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007fc32a9ca7f8>, "rack.errors"=>#<StringIO:0x007fc32a9caa50>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
1571
-  (0.0ms) rollback transaction
1572
-  (0.1ms) begin transaction
1573
- ----------------------------------------------------------------------------------------
1574
- RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
1575
- ----------------------------------------------------------------------------------------
1576
-  (0.0ms) rollback transaction
1577
-  (0.0ms) begin transaction
1578
- ------------------------------------------------------------
1579
- RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
1580
- ------------------------------------------------------------
1581
-  (0.1ms) SAVEPOINT active_record_1
1582
- SQL (0.3ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-05-03 01:08:13.245352"], ["updated_at", "2016-05-03 01:08:13.245352"], ["uuid", "8255f690-10cb-11e6-b753-6c4008a6fa2a"]]
1583
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1584
-  (1.1ms) rollback transaction
1585
-  (0.1ms) begin transaction
1586
- ---------------------------------------------------------------
1587
- DummiesControllerTest: test_Predefined_errors_should_be_handled
1588
- ---------------------------------------------------------------
1589
- Processing by DummiesController#show as HTML
781
+  (0.0ms) rollback transaction
782
+  (0.0ms) begin transaction
783
+ -------------------------------------------------------------
784
+ TestsControllerTest: test_Predefined_errors_should_be_handled
785
+ -------------------------------------------------------------
786
+ Processing by TestsController#show as HTML
1590
787
  Parameters: {"id"=>"400"}
1591
788
  400 - Repia::Errors::BadRequest
1592
- Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1593
- Processing by DummiesController#show as HTML
789
+ Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
790
+ Processing by TestsController#show as HTML
1594
791
  Parameters: {"id"=>"401"}
1595
792
  401 - Repia::Errors::Unauthorized
1596
793
  Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1597
- Processing by DummiesController#show as HTML
794
+ Processing by TestsController#show as HTML
1598
795
  Parameters: {"id"=>"404"}
1599
796
  404 - Repia::Errors::NotFound
1600
797
  Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1601
- Processing by DummiesController#show as HTML
798
+ Processing by TestsController#show as HTML
1602
799
  Parameters: {"id"=>"409"}
1603
800
  409 - Repia::Errors::Conflict
1604
- Completed 409 Conflict in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1605
- Processing by DummiesController#show as HTML
801
+ Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
802
+ Processing by TestsController#show as HTML
1606
803
  Parameters: {"id"=>"500"}
1607
804
  500 - Repia::Errors::InternalServerError
805
+ Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
806
+  (0.1ms) rollback transaction
807
+  (0.1ms) begin transaction
808
+ -----------------------------------------------
809
+ TestsControllerTest: test_handle_standard_error
810
+ -----------------------------------------------
811
+ Processing by TestsController#index as HTML
812
+ StandardError
1608
813
  Completed 500 Internal Server Error in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1609
-  (0.1ms) rollback transaction
1610
-  (0.0ms) begin transaction
1611
- ------------------------------------------------------
1612
- DummiesControllerTest: test_options_request_is_handled
1613
- ------------------------------------------------------
1614
- Processing by DummiesController#options as HTML
1615
- Rendered text template (0.0ms)
1616
- Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms)
1617
- Processing by DummiesController#options as HTML
1618
- Rendered text template (0.0ms)
1619
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1620
-  (0.1ms) rollback transaction
1621
-  (0.1ms) begin transaction
1622
- --------------------------------------------------
1623
- DummiesControllerTest: test_render_multiple_errors
1624
- --------------------------------------------------
1625
- Processing by DummiesController#index as HTML
1626
- Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1627
-  (0.0ms) rollback transaction
1628
-  (0.0ms) begin transaction
1629
- ---------------------------------------------------------------------------
1630
- DummiesControllerTest: test_find_object_will_error_if_object_does_not_exist
1631
- ---------------------------------------------------------------------------
1632
- Processing by DummiesController#update as HTML
814
+  (0.1ms) rollback transaction
815
+  (0.1ms) begin transaction
816
+ ----------------------------------------------------------------
817
+ TestsControllerTest: test_find_object_will_find_object_if_exists
818
+ ----------------------------------------------------------------
819
+  (0.0ms) SAVEPOINT active_record_1
820
+ SQL (0.2ms) INSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?) [["uuid", "403094ba-a8f0-11e6-a826-9801a78f6ec1"], ["created_at", 2016-11-12 15:54:10 UTC], ["updated_at", 2016-11-12 15:54:10 UTC]]
821
+  (0.0ms) RELEASE SAVEPOINT active_record_1
822
+ Processing by TestsController#show as HTML
823
+ Parameters: {"id"=>"403094ba-a8f0-11e6-a826-9801a78f6ec1"}
824
+ Attempting to get UniqueModel 403094ba-a8f0-11e6-a826-9801a78f6ec1
825
+ UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ? [["uuid", "403094ba-a8f0-11e6-a826-9801a78f6ec1"], ["LIMIT", 1]]
826
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.1ms)
827
+  (2.1ms) rollback transaction
828
+  (0.1ms) begin transaction
829
+ -------------------------------------------------------------------------
830
+ TestsControllerTest: test_find_object_will_error_if_object_does_not_exist
831
+ -------------------------------------------------------------------------
832
+ Processing by TestsController#show as HTML
1633
833
  Parameters: {"id"=>"blah"}
1634
834
  Attempting to get UniqueModel blah
1635
- UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT 1 [["uuid", "blah"]]
835
+ UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ? [["uuid", "blah"], ["LIMIT", 1]]
1636
836
  404 - UniqueModel blah cannot be found
1637
- Completed 404 Not Found in 4ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1638
-  (0.1ms) rollback transaction
1639
-  (0.0ms) begin transaction
1640
- -------------------------------------------------
1641
- DummiesControllerTest: test_handle_standard_error
1642
- -------------------------------------------------
1643
- Processing by DummiesController#create as HTML
1644
- String can't be coerced into Fixnum
1645
- Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1646
-  (0.0ms) rollback transaction
1647
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1648
-  (0.1ms) begin transaction
1649
- ------------------------------------------------------------
1650
- RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
1651
- ------------------------------------------------------------
1652
-  (0.0ms) SAVEPOINT active_record_1
1653
- SQL (0.3ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-05-03 01:08:21.811181"], ["updated_at", "2016-05-03 01:08:21.811181"], ["uuid", "877100a2-10cb-11e6-b5c8-6c4008a6fa2a"]]
1654
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1655
-  (0.8ms) rollback transaction
1656
-  (0.1ms) begin transaction
837
+ Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
838
+  (0.0ms) rollback transaction
839
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
840
+  (0.1ms) begin transaction
1657
841
  ----------------------------------------------------------------------------------
1658
842
  RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
1659
843
  ----------------------------------------------------------------------------------
1660
- ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007f818bff03e8>, "rack.errors"=>#<StringIO:0x007f818bff0938>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
1661
-  (0.1ms) rollback transaction
1662
-  (0.0ms) begin transaction
844
+ ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007f9fd99f6c50>, "rack.errors"=>#<StringIO:0x007f9fd99f6cc8>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
845
+  (0.0ms) rollback transaction
846
+  (0.0ms) begin transaction
1663
847
  ----------------------------------------------------------------------------------------
1664
848
  RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
1665
849
  ----------------------------------------------------------------------------------------
1666
-  (0.0ms) rollback transaction
1667
-  (0.0ms) begin transaction
1668
- ---------------------------------------------------------------------------
1669
- DummiesControllerTest: test_find_object_will_error_if_object_does_not_exist
1670
- ---------------------------------------------------------------------------
1671
- Processing by DummiesController#update as HTML
850
+  (0.0ms) rollback transaction
851
+  (0.0ms) begin transaction
852
+ ------------------------------------------------
853
+ TestsControllerTest: test_render_multiple_errors
854
+ ------------------------------------------------
855
+ Processing by TestsController#index as HTML
856
+ Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
857
+  (0.1ms) rollback transaction
858
+  (0.1ms) begin transaction
859
+ -------------------------------------------------------------------------
860
+ TestsControllerTest: test_find_object_will_error_if_object_does_not_exist
861
+ -------------------------------------------------------------------------
862
+ Processing by TestsController#show as HTML
1672
863
  Parameters: {"id"=>"blah"}
1673
864
  Attempting to get UniqueModel blah
1674
- UniqueModel Load (0.2ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT 1 [["uuid", "blah"]]
865
+ UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ? [["uuid", "blah"], ["LIMIT", 1]]
1675
866
  404 - UniqueModel blah cannot be found
1676
- Completed 404 Not Found in 7ms (Views: 0.3ms | ActiveRecord: 0.2ms)
1677
-  (0.1ms) rollback transaction
1678
-  (0.0ms) begin transaction
1679
- ---------------------------------------------------------------
1680
- DummiesControllerTest: test_Predefined_errors_should_be_handled
1681
- ---------------------------------------------------------------
1682
- Processing by DummiesController#show as HTML
1683
- Parameters: {"id"=>"400"}
1684
- 400 - Repia::Errors::BadRequest
1685
- Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1686
- Processing by DummiesController#show as HTML
1687
- Parameters: {"id"=>"401"}
1688
- 401 - Repia::Errors::Unauthorized
1689
- Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1690
- Processing by DummiesController#show as HTML
1691
- Parameters: {"id"=>"404"}
1692
- 404 - Repia::Errors::NotFound
1693
- Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1694
- Processing by DummiesController#show as HTML
1695
- Parameters: {"id"=>"409"}
1696
- 409 - Repia::Errors::Conflict
1697
- Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1698
- Processing by DummiesController#show as HTML
1699
- Parameters: {"id"=>"500"}
1700
- 500 - Repia::Errors::InternalServerError
1701
- Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1702
-  (0.1ms) rollback transaction
1703
-  (0.0ms) begin transaction
1704
- ------------------------------------------------------
1705
- DummiesControllerTest: test_options_request_is_handled
1706
- ------------------------------------------------------
1707
- Processing by DummiesController#options as HTML
1708
- Rendered text template (0.0ms)
1709
- Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)
1710
- Processing by DummiesController#options as HTML
867
+ Completed 404 Not Found in 6ms (Views: 0.2ms | ActiveRecord: 0.3ms)
868
+  (0.0ms) rollback transaction
869
+  (0.0ms) begin transaction
870
+ ----------------------------------------------------
871
+ TestsControllerTest: test_options_request_is_handled
872
+ ----------------------------------------------------
873
+ Processing by TestsController#options as HTML
874
+ Rendering text template
875
+ Rendered text template (0.0ms)
876
+ Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
877
+ Processing by TestsController#options as HTML
878
+ Rendering text template
1711
879
  Rendered text template (0.0ms)
1712
880
  Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1713
-  (0.1ms) rollback transaction
1714
-  (0.1ms) begin transaction
1715
- -------------------------------------------------
1716
- DummiesControllerTest: test_handle_standard_error
1717
- -------------------------------------------------
1718
- Processing by DummiesController#create as HTML
1719
- String can't be coerced into Fixnum
1720
- Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1721
-  (0.0ms) rollback transaction
1722
-  (0.0ms) begin transaction
1723
- --------------------------------------------------
1724
- DummiesControllerTest: test_render_multiple_errors
1725
- --------------------------------------------------
1726
- Processing by DummiesController#index as HTML
1727
- Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1728
-  (0.0ms) rollback transaction
1729
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1730
-  (0.1ms) begin transaction
1731
- ----------------------------------------------------------------------------------------
1732
- RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
1733
- ----------------------------------------------------------------------------------------
1734
-  (0.0ms) rollback transaction
1735
-  (0.0ms) begin transaction
1736
- ------------------------------------------------------------
1737
- RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
1738
- ------------------------------------------------------------
1739
-  (0.0ms) SAVEPOINT active_record_1
1740
- SQL (0.3ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-05-03 01:09:32.284843"], ["updated_at", "2016-05-03 01:09:32.284843"], ["uuid", "b1726dfa-10cb-11e6-bcd4-6c4008a6fa2a"]]
1741
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1742
-  (1.1ms) rollback transaction
1743
-  (0.1ms) begin transaction
1744
- ----------------------------------------------------------------------------------
1745
- RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
1746
- ----------------------------------------------------------------------------------
1747
- ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007f88ef92f908>, "rack.errors"=>#<StringIO:0x007f88ef92fc28>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
1748
-  (0.1ms) rollback transaction
1749
-  (0.1ms) begin transaction
1750
- ---------------------------------------------------------------
1751
- DummiesControllerTest: test_Predefined_errors_should_be_handled
1752
- ---------------------------------------------------------------
1753
- Processing by DummiesController#show as HTML
881
+  (0.1ms) rollback transaction
882
+  (0.1ms) begin transaction
883
+ -------------------------------------------------------------
884
+ TestsControllerTest: test_Predefined_errors_should_be_handled
885
+ -------------------------------------------------------------
886
+ Processing by TestsController#show as HTML
1754
887
  Parameters: {"id"=>"400"}
1755
888
  400 - Repia::Errors::BadRequest
1756
- Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1757
- Processing by DummiesController#show as HTML
889
+ Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
890
+ Processing by TestsController#show as HTML
1758
891
  Parameters: {"id"=>"401"}
1759
892
  401 - Repia::Errors::Unauthorized
1760
893
  Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1761
- Processing by DummiesController#show as HTML
894
+ Processing by TestsController#show as HTML
1762
895
  Parameters: {"id"=>"404"}
1763
896
  404 - Repia::Errors::NotFound
1764
897
  Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1765
- Processing by DummiesController#show as HTML
898
+ Processing by TestsController#show as HTML
1766
899
  Parameters: {"id"=>"409"}
1767
900
  409 - Repia::Errors::Conflict
1768
901
  Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1769
- Processing by DummiesController#show as HTML
902
+ Processing by TestsController#show as HTML
1770
903
  Parameters: {"id"=>"500"}
1771
904
  500 - Repia::Errors::InternalServerError
1772
905
  Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1773
-  (0.1ms) rollback transaction
1774
-  (0.1ms) begin transaction
1775
- ------------------------------------------------------
1776
- DummiesControllerTest: test_options_request_is_handled
1777
- ------------------------------------------------------
1778
- Processing by DummiesController#options as HTML
1779
- Rendered text template (0.0ms)
1780
- Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms)
1781
- Processing by DummiesController#options as HTML
1782
- Rendered text template (0.0ms)
1783
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1784
-  (0.1ms) rollback transaction
1785
-  (0.0ms) begin transaction
1786
- --------------------------------------------------
1787
- DummiesControllerTest: test_render_multiple_errors
1788
- --------------------------------------------------
1789
- Processing by DummiesController#index as HTML
1790
- Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1791
-  (0.0ms) rollback transaction
1792
-  (0.0ms) begin transaction
1793
- ---------------------------------------------------------------------------
1794
- DummiesControllerTest: test_find_object_will_error_if_object_does_not_exist
1795
- ---------------------------------------------------------------------------
1796
- Processing by DummiesController#update as HTML
906
+  (0.0ms) rollback transaction
907
+  (0.0ms) begin transaction
908
+ ----------------------------------------------------------------
909
+ TestsControllerTest: test_find_object_will_find_object_if_exists
910
+ ----------------------------------------------------------------
911
+  (0.0ms) SAVEPOINT active_record_1
912
+ SQL (0.4ms) INSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?) [["uuid", "55b31cb8-a8f0-11e6-8320-9801a78f6ec1"], ["created_at", 2016-11-12 15:54:46 UTC], ["updated_at", 2016-11-12 15:54:46 UTC]]
913
+  (0.0ms) RELEASE SAVEPOINT active_record_1
914
+ Processing by TestsController#show as HTML
915
+ Parameters: {"id"=>"55b31cb8-a8f0-11e6-8320-9801a78f6ec1"}
916
+ Attempting to get UniqueModel 55b31cb8-a8f0-11e6-8320-9801a78f6ec1
917
+ UniqueModel Load (0.0ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ? [["uuid", "55b31cb8-a8f0-11e6-8320-9801a78f6ec1"], ["LIMIT", 1]]
918
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
919
+  (2.0ms) rollback transaction
920
+  (0.1ms) begin transaction
921
+ ----------------------------------------
922
+ TestsControllerTest: test_exceptions_app
923
+ ----------------------------------------
924
+ Processing by TestsController#show as HTML
1797
925
  Parameters: {"id"=>"blah"}
1798
- Attempting to get UniqueModel blah
1799
- UniqueModel Load (0.2ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT 1 [["uuid", "blah"]]
1800
- 404 - UniqueModel blah cannot be found
1801
- Completed 404 Not Found in 4ms (Views: 0.2ms | ActiveRecord: 0.2ms)
1802
-  (0.1ms) rollback transaction
1803
-  (0.0ms) begin transaction
1804
- ------------------------------------------------------------------
1805
- DummiesControllerTest: test_find_object_will_find_object_if_exists
1806
- ------------------------------------------------------------------
1807
-  (0.1ms) SAVEPOINT active_record_1
1808
- SQL (0.2ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-05-03 01:09:32.335128"], ["updated_at", "2016-05-03 01:09:32.335128"], ["uuid", "b17a1b18-10cb-11e6-bcd4-6c4008a6fa2a"]]
1809
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1810
- Processing by DummiesController#update as HTML
1811
- Parameters: {"id"=>"b17a1b18-10cb-11e6-bcd4-6c4008a6fa2a"}
1812
- Attempting to get UniqueModel b17a1b18-10cb-11e6-bcd4-6c4008a6fa2a
1813
- UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT 1 [["uuid", "b17a1b18-10cb-11e6-bcd4-6c4008a6fa2a"]]
1814
- Missing template dummies/update, application/update, repia/base/update with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
1815
- * "/Users/davidan/Projects/Personal/repia/test/dummy/app/views"
1816
-
1817
- Completed 500 Internal Server Error in 3ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1818
-  (0.3ms) rollback transaction
1819
-  (0.0ms) begin transaction
1820
- -------------------------------------------------
1821
- DummiesControllerTest: test_handle_standard_error
1822
- -------------------------------------------------
1823
- Processing by DummiesController#create as HTML
1824
- String can't be coerced into Fixnum
1825
- Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1826
-  (0.0ms) rollback transaction
1827
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1828
-  (0.1ms) begin transaction
1829
- ------------------------------------------------------------
1830
- RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
1831
- ------------------------------------------------------------
1832
-  (0.0ms) SAVEPOINT active_record_1
1833
- SQL (0.4ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-05-03 01:10:00.952043"], ["updated_at", "2016-05-03 01:10:00.952043"], ["uuid", "c288b374-10cb-11e6-bdfa-6c4008a6fa2a"]]
1834
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1835
-  (0.9ms) rollback transaction
1836
-  (0.1ms) begin transaction
1837
- ----------------------------------------------------------------------------------
1838
- RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
1839
- ----------------------------------------------------------------------------------
1840
- ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007fcd1ab8c970>, "rack.errors"=>#<StringIO:0x007fcd1ab8cda8>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
1841
-  (0.1ms) rollback transaction
1842
-  (0.1ms) begin transaction
1843
- ----------------------------------------------------------------------------------------
1844
- RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
1845
- ----------------------------------------------------------------------------------------
1846
-  (0.1ms) rollback transaction
1847
-  (0.0ms) begin transaction
1848
- ------------------------------------------------------
1849
- DummiesControllerTest: test_options_request_is_handled
1850
- ------------------------------------------------------
1851
- Processing by DummiesController#options as HTML
1852
- Rendered text template (0.0ms)
1853
- Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)
1854
- Processing by DummiesController#options as HTML
1855
- Rendered text template (0.0ms)
1856
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1857
-  (0.1ms) rollback transaction
1858
-  (0.1ms) begin transaction
1859
- ------------------------------------------------------------------
1860
- DummiesControllerTest: test_find_object_will_find_object_if_exists
1861
- ------------------------------------------------------------------
1862
-  (0.0ms) SAVEPOINT active_record_1
1863
- SQL (0.2ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-05-03 01:10:00.991866"], ["updated_at", "2016-05-03 01:10:00.991866"], ["uuid", "c28ec5c0-10cb-11e6-bdfa-6c4008a6fa2a"]]
1864
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1865
- Processing by DummiesController#update as HTML
1866
- Parameters: {"id"=>"c28ec5c0-10cb-11e6-bdfa-6c4008a6fa2a"}
1867
- Attempting to get UniqueModel c28ec5c0-10cb-11e6-bdfa-6c4008a6fa2a
1868
- UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT 1 [["uuid", "c28ec5c0-10cb-11e6-bdfa-6c4008a6fa2a"]]
1869
- Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.1ms)
1870
-  (0.5ms) rollback transaction
1871
-  (0.1ms) begin transaction
1872
- --------------------------------------------------
1873
- DummiesControllerTest: test_render_multiple_errors
1874
- --------------------------------------------------
1875
- Processing by DummiesController#index as HTML
1876
- Completed 400 Bad Request in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1877
-  (0.1ms) rollback transaction
1878
-  (0.1ms) begin transaction
1879
- ---------------------------------------------------------------------------
1880
- DummiesControllerTest: test_find_object_will_error_if_object_does_not_exist
1881
- ---------------------------------------------------------------------------
1882
- Processing by DummiesController#update as HTML
926
+ Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
927
+  (0.0ms) rollback transaction
928
+  (0.0ms) begin transaction
929
+ -----------------------------------------------
930
+ TestsControllerTest: test_handle_standard_error
931
+ -----------------------------------------------
932
+ Processing by TestsController#index as HTML
933
+ StandardError
934
+ Completed 500 Internal Server Error in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
935
+  (0.0ms) rollback transaction
936
+  (0.0ms) begin transaction
937
+ -----------------------------------------------------------------------
938
+ RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
939
+ -----------------------------------------------------------------------
940
+  (0.0ms) SAVEPOINT active_record_1
941
+ SQL (0.2ms) INSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?) [["uuid", "55b75206-a8f0-11e6-8320-9801a78f6ec1"], ["created_at", 2016-11-12 15:54:46 UTC], ["updated_at", 2016-11-12 15:54:46 UTC]]
942
+  (0.0ms) RELEASE SAVEPOINT active_record_1
943
+  (0.3ms) rollback transaction
944
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
945
+  (0.1ms) begin transaction
946
+ ----------------------------------------
947
+ TestsControllerTest: test_exceptions_app
948
+ ----------------------------------------
949
+ Processing by TestsController#show as HTML
950
+ Parameters: {"id"=>"blah"}
951
+ Completed 404 Not Found in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
952
+  (0.0ms) rollback transaction
953
+  (0.0ms) begin transaction
954
+ -------------------------------------------------------------------------
955
+ TestsControllerTest: test_find_object_will_error_if_object_does_not_exist
956
+ -------------------------------------------------------------------------
957
+ Processing by TestsController#show as HTML
1883
958
  Parameters: {"id"=>"blah"}
1884
959
  Attempting to get UniqueModel blah
1885
- UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT 1 [["uuid", "blah"]]
960
+ UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ? [["uuid", "blah"], ["LIMIT", 1]]
1886
961
  404 - UniqueModel blah cannot be found
1887
- Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1888
-  (0.1ms) rollback transaction
1889
-  (0.1ms) begin transaction
1890
- ---------------------------------------------------------------
1891
- DummiesControllerTest: test_Predefined_errors_should_be_handled
1892
- ---------------------------------------------------------------
1893
- Processing by DummiesController#show as HTML
1894
- Parameters: {"id"=>"400"}
1895
- 400 - Repia::Errors::BadRequest
1896
- Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1897
- Processing by DummiesController#show as HTML
1898
- Parameters: {"id"=>"401"}
1899
- 401 - Repia::Errors::Unauthorized
1900
- Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1901
- Processing by DummiesController#show as HTML
1902
- Parameters: {"id"=>"404"}
1903
- 404 - Repia::Errors::NotFound
1904
- Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1905
- Processing by DummiesController#show as HTML
1906
- Parameters: {"id"=>"409"}
1907
- 409 - Repia::Errors::Conflict
1908
- Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1909
- Processing by DummiesController#show as HTML
1910
- Parameters: {"id"=>"500"}
1911
- 500 - Repia::Errors::InternalServerError
1912
- Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1913
-  (0.1ms) rollback transaction
1914
-  (0.0ms) begin transaction
1915
- -------------------------------------------------
1916
- DummiesControllerTest: test_handle_standard_error
1917
- -------------------------------------------------
1918
- Processing by DummiesController#create as HTML
1919
- String can't be coerced into Fixnum
1920
- Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1921
-  (0.1ms) rollback transaction
1922
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1923
-  (0.1ms) begin transaction
1924
- ---------------------------------------------------------------
1925
- DummiesControllerTest: test_Predefined_errors_should_be_handled
1926
- ---------------------------------------------------------------
1927
- Processing by DummiesController#show as HTML
962
+ Completed 404 Not Found in 6ms (Views: 0.2ms | ActiveRecord: 0.3ms)
963
+  (0.0ms) rollback transaction
964
+  (0.1ms) begin transaction
965
+ ------------------------------------------------
966
+ TestsControllerTest: test_render_multiple_errors
967
+ ------------------------------------------------
968
+ Processing by TestsController#index as HTML
969
+ Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
970
+  (0.0ms) rollback transaction
971
+  (0.0ms) begin transaction
972
+ ----------------------------------------------------------------
973
+ TestsControllerTest: test_find_object_will_find_object_if_exists
974
+ ----------------------------------------------------------------
975
+  (0.1ms) SAVEPOINT active_record_1
976
+ SQL (0.4ms) INSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?) [["uuid", "5f4fdc7a-a8f0-11e6-a16d-9801a78f6ec1"], ["created_at", 2016-11-12 15:55:02 UTC], ["updated_at", 2016-11-12 15:55:02 UTC]]
977
+  (0.0ms) RELEASE SAVEPOINT active_record_1
978
+ Processing by TestsController#show as HTML
979
+ Parameters: {"id"=>"5f4fdc7a-a8f0-11e6-a16d-9801a78f6ec1"}
980
+ Attempting to get UniqueModel 5f4fdc7a-a8f0-11e6-a16d-9801a78f6ec1
981
+ UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ? [["uuid", "5f4fdc7a-a8f0-11e6-a16d-9801a78f6ec1"], ["LIMIT", 1]]
982
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms)
983
+  (2.1ms) rollback transaction
984
+  (0.0ms) begin transaction
985
+ -------------------------------------------------------------
986
+ TestsControllerTest: test_Predefined_errors_should_be_handled
987
+ -------------------------------------------------------------
988
+ Processing by TestsController#show as HTML
1928
989
  Parameters: {"id"=>"400"}
1929
990
  400 - Repia::Errors::BadRequest
1930
- Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1931
- Processing by DummiesController#show as HTML
991
+ Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
992
+ Processing by TestsController#show as HTML
1932
993
  Parameters: {"id"=>"401"}
1933
994
  401 - Repia::Errors::Unauthorized
1934
995
  Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1935
- Processing by DummiesController#show as HTML
996
+ Processing by TestsController#show as HTML
1936
997
  Parameters: {"id"=>"404"}
1937
998
  404 - Repia::Errors::NotFound
1938
999
  Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1939
- Processing by DummiesController#show as HTML
1000
+ Processing by TestsController#show as HTML
1940
1001
  Parameters: {"id"=>"409"}
1941
1002
  409 - Repia::Errors::Conflict
1942
1003
  Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1943
- Processing by DummiesController#show as HTML
1004
+ Processing by TestsController#show as HTML
1944
1005
  Parameters: {"id"=>"500"}
1945
1006
  500 - Repia::Errors::InternalServerError
1946
1007
  Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1947
-  (0.1ms) rollback transaction
1948
-  (0.1ms) begin transaction
1949
- -------------------------------------------------
1950
- DummiesControllerTest: test_handle_standard_error
1951
- -------------------------------------------------
1952
- Processing by DummiesController#create as HTML
1953
- String can't be coerced into Fixnum
1954
- Completed 500 Internal Server Error in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1955
-  (0.1ms) rollback transaction
1956
-  (0.0ms) begin transaction
1957
- --------------------------------------------------
1958
- DummiesControllerTest: test_render_multiple_errors
1959
- --------------------------------------------------
1960
- Processing by DummiesController#index as HTML
1961
- Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1962
-  (0.1ms) rollback transaction
1963
-  (0.0ms) begin transaction
1964
- ------------------------------------------------------------------
1965
- DummiesControllerTest: test_find_object_will_find_object_if_exists
1966
- ------------------------------------------------------------------
1967
-  (0.0ms) SAVEPOINT active_record_1
1968
- SQL (0.5ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-05-03 01:10:12.319858"], ["updated_at", "2016-05-03 01:10:12.319858"], ["uuid", "c94f4a10-10cb-11e6-b437-6c4008a6fa2a"]]
1969
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1970
- Processing by DummiesController#update as HTML
1971
- Parameters: {"id"=>"c94f4a10-10cb-11e6-b437-6c4008a6fa2a"}
1972
- Attempting to get UniqueModel c94f4a10-10cb-11e6-b437-6c4008a6fa2a
1973
- UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT 1 [["uuid", "c94f4a10-10cb-11e6-b437-6c4008a6fa2a"]]
1974
- Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1975
-  (0.9ms) rollback transaction
1976
-  (0.1ms) begin transaction
1977
- ---------------------------------------------------------------------------
1978
- DummiesControllerTest: test_find_object_will_error_if_object_does_not_exist
1979
- ---------------------------------------------------------------------------
1980
- Processing by DummiesController#update as HTML
1981
- Parameters: {"id"=>"blah"}
1982
- Attempting to get UniqueModel blah
1983
- UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT 1 [["uuid", "blah"]]
1984
- 404 - UniqueModel blah cannot be found
1985
- Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1986
-  (0.1ms) rollback transaction
1987
-  (0.1ms) begin transaction
1988
- ------------------------------------------------------
1989
- DummiesControllerTest: test_options_request_is_handled
1990
- ------------------------------------------------------
1991
- Processing by DummiesController#options as HTML
1992
- Rendered text template (0.0ms)
1993
- Completed 200 OK in 5ms (Views: 5.1ms | ActiveRecord: 0.0ms)
1994
- Processing by DummiesController#options as HTML
1008
+  (0.0ms) rollback transaction
1009
+  (0.0ms) begin transaction
1010
+ ----------------------------------------------------
1011
+ TestsControllerTest: test_options_request_is_handled
1012
+ ----------------------------------------------------
1013
+ Processing by TestsController#options as HTML
1014
+ Rendering text template
1015
+ Rendered text template (0.0ms)
1016
+ Completed 200 OK in 3ms (Views: 3.2ms | ActiveRecord: 0.0ms)
1017
+ Processing by TestsController#options as HTML
1018
+ Rendering text template
1995
1019
  Rendered text template (0.0ms)
1996
1020
  Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1997
-  (0.0ms) rollback transaction
1998
-  (0.0ms) begin transaction
1999
- ------------------------------------------------------------
2000
- RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
2001
- ------------------------------------------------------------
2002
-  (0.0ms) SAVEPOINT active_record_1
2003
- SQL (0.2ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-05-03 01:10:12.357595"], ["updated_at", "2016-05-03 01:10:12.357595"], ["uuid", "c9550ad6-10cb-11e6-b437-6c4008a6fa2a"]]
2004
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2005
-  (0.4ms) rollback transaction
2006
-  (0.1ms) begin transaction
2007
- ----------------------------------------------------------------------------------
2008
- RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
2009
- ----------------------------------------------------------------------------------
2010
- ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007fb617038cc8>, "rack.errors"=>#<StringIO:0x007fb6170393f8>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
2011
-  (0.0ms) rollback transaction
2012
-  (0.0ms) begin transaction
2013
- ----------------------------------------------------------------------------------------
2014
- RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
2015
- ----------------------------------------------------------------------------------------
2016
-  (0.0ms) rollback transaction
2017
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2018
-  (0.1ms) begin transaction
1021
+  (0.0ms) rollback transaction
1022
+  (0.0ms) begin transaction
1023
+ -----------------------------------------------
1024
+ TestsControllerTest: test_handle_standard_error
1025
+ -----------------------------------------------
1026
+ Processing by TestsController#index as HTML
1027
+ StandardError
1028
+ Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1029
+  (0.0ms) rollback transaction
1030
+  (0.0ms) begin transaction
1031
+ -----------------------------------------------------------------------
1032
+ RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
1033
+ -----------------------------------------------------------------------
1034
+  (0.0ms) SAVEPOINT active_record_1
1035
+ SQL (0.3ms) INSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?) [["uuid", "5f5582ec-a8f0-11e6-a16d-9801a78f6ec1"], ["created_at", 2016-11-12 15:55:02 UTC], ["updated_at", 2016-11-12 15:55:02 UTC]]
1036
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1037
+  (0.3ms) rollback transaction
1038
+  (0.1ms) begin transaction
2019
1039
  ----------------------------------------------------------------------------------------
2020
1040
  RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
2021
1041
  ----------------------------------------------------------------------------------------
2022
-  (0.0ms) rollback transaction
2023
-  (0.1ms) begin transaction
2024
- ------------------------------------------------------------
2025
- RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
2026
- ------------------------------------------------------------
2027
-  (0.0ms) SAVEPOINT active_record_1
2028
- SQL (0.3ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-05-03 01:11:53.196838"], ["updated_at", "2016-05-03 01:11:53.196838"], ["uuid", "056fe464-10cc-11e6-a8d2-6c4008a6fa2a"]]
2029
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2030
-  (1.1ms) rollback transaction
2031
-  (0.1ms) begin transaction
2032
- ---------------------------------------------------
2033
- RepiaTest: test_Invalid_route_has_401_json_response
2034
- ---------------------------------------------------
2035
-  (0.1ms) rollback transaction
2036
-  (0.1ms) begin transaction
1042
+  (0.0ms) rollback transaction
1043
+  (0.0ms) begin transaction
2037
1044
  ----------------------------------------------------------------------------------
2038
1045
  RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
2039
1046
  ----------------------------------------------------------------------------------
2040
- ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007fb8bc95a3e0>, "rack.errors"=>#<StringIO:0x007fb8bc95a548>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
2041
-  (0.1ms) rollback transaction
2042
-  (0.1ms) begin transaction
2043
- -------------------------------------------------
2044
- DummiesControllerTest: test_handle_standard_error
2045
- -------------------------------------------------
2046
- Processing by DummiesController#create as HTML
2047
- String can't be coerced into Fixnum
2048
- Completed 500 Internal Server Error in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2049
-  (0.1ms) rollback transaction
2050
-  (0.0ms) begin transaction
2051
- ------------------------------------------------------------------
2052
- DummiesControllerTest: test_find_object_will_find_object_if_exists
2053
- ------------------------------------------------------------------
2054
-  (0.0ms) SAVEPOINT active_record_1
2055
- SQL (0.3ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-05-03 01:11:53.241282"], ["updated_at", "2016-05-03 01:11:53.241282"], ["uuid", "0576adf8-10cc-11e6-a8d2-6c4008a6fa2a"]]
2056
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2057
- Processing by DummiesController#update as HTML
2058
- Parameters: {"id"=>"0576adf8-10cc-11e6-a8d2-6c4008a6fa2a"}
2059
- Attempting to get UniqueModel 0576adf8-10cc-11e6-a8d2-6c4008a6fa2a
2060
- UniqueModel Load (0.3ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT 1 [["uuid", "0576adf8-10cc-11e6-a8d2-6c4008a6fa2a"]]
2061
- Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 0.3ms)
2062
-  (0.6ms) rollback transaction
2063
-  (0.2ms) begin transaction
2064
- ------------------------------------------------------
2065
- DummiesControllerTest: test_options_request_is_handled
2066
- ------------------------------------------------------
2067
- Processing by DummiesController#options as HTML
2068
- Rendered text template (0.0ms)
2069
- Completed 200 OK in 8ms (Views: 7.5ms | ActiveRecord: 0.0ms)
2070
- Processing by DummiesController#options as HTML
1047
+ ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007fc8192529a0>, "rack.errors"=>#<StringIO:0x007fc819252a40>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
1048
+  (0.0ms) rollback transaction
1049
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1050
+  (0.1ms) begin transaction
1051
+ -----------------------------------------------------------------------
1052
+ RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
1053
+ -----------------------------------------------------------------------
1054
+  (0.0ms) SAVEPOINT active_record_1
1055
+ SQL (0.5ms) INSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?) [["uuid", "6b3aeac0-a8f0-11e6-adac-9801a78f6ec1"], ["created_at", 2016-11-12 15:55:22 UTC], ["updated_at", 2016-11-12 15:55:22 UTC]]
1056
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1057
+  (2.2ms) rollback transaction
1058
+  (0.1ms) begin transaction
1059
+ ----------------------------------------
1060
+ TestsControllerTest: test_exceptions_app
1061
+ ----------------------------------------
1062
+ Processing by TestsController#show as HTML
1063
+ Parameters: {"id"=>"blah"}
1064
+ Completed 404 Not Found in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1065
+  (0.1ms) rollback transaction
1066
+  (0.0ms) begin transaction
1067
+ -----------------------------------------------
1068
+ TestsControllerTest: test_handle_standard_error
1069
+ -----------------------------------------------
1070
+ Processing by TestsController#index as HTML
1071
+ StandardError
1072
+ Completed 500 Internal Server Error in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1073
+  (0.0ms) rollback transaction
1074
+  (0.0ms) begin transaction
1075
+ ----------------------------------------------------
1076
+ TestsControllerTest: test_options_request_is_handled
1077
+ ----------------------------------------------------
1078
+ Processing by TestsController#options as HTML
1079
+ Rendering text template
1080
+ Rendered text template (0.0ms)
1081
+ Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
1082
+ Processing by TestsController#options as HTML
1083
+ Rendering text template
2071
1084
  Rendered text template (0.0ms)
2072
1085
  Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2073
-  (0.1ms) rollback transaction
2074
-  (0.0ms) begin transaction
2075
- ---------------------------------------------------------------------------
2076
- DummiesControllerTest: test_find_object_will_error_if_object_does_not_exist
2077
- ---------------------------------------------------------------------------
2078
- Processing by DummiesController#update as HTML
2079
- Parameters: {"id"=>"blah"}
2080
- Attempting to get UniqueModel blah
2081
- UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT 1 [["uuid", "blah"]]
2082
- 404 - UniqueModel blah cannot be found
2083
- Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
2084
-  (0.1ms) rollback transaction
2085
-  (0.0ms) begin transaction
2086
- --------------------------------------------------
2087
- DummiesControllerTest: test_render_multiple_errors
2088
- --------------------------------------------------
2089
- Processing by DummiesController#index as HTML
2090
- Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2091
-  (0.0ms) rollback transaction
2092
-  (0.0ms) begin transaction
2093
- ---------------------------------------------------------------
2094
- DummiesControllerTest: test_Predefined_errors_should_be_handled
2095
- ---------------------------------------------------------------
2096
- Processing by DummiesController#show as HTML
2097
- Parameters: {"id"=>"400"}
2098
- 400 - Repia::Errors::BadRequest
2099
- Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2100
- Processing by DummiesController#show as HTML
2101
- Parameters: {"id"=>"401"}
2102
- 401 - Repia::Errors::Unauthorized
2103
- Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2104
- Processing by DummiesController#show as HTML
2105
- Parameters: {"id"=>"404"}
2106
- 404 - Repia::Errors::NotFound
2107
- Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2108
- Processing by DummiesController#show as HTML
2109
- Parameters: {"id"=>"409"}
2110
- 409 - Repia::Errors::Conflict
2111
- Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2112
- Processing by DummiesController#show as HTML
2113
- Parameters: {"id"=>"500"}
2114
- 500 - Repia::Errors::InternalServerError
2115
- Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2116
-  (0.0ms) rollback transaction
2117
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2118
-  (0.1ms) begin transaction
2119
- ---------------------------------------------------------------
2120
- DummiesControllerTest: test_Predefined_errors_should_be_handled
2121
- ---------------------------------------------------------------
2122
- Processing by DummiesController#show as HTML
1086
+  (0.1ms) rollback transaction
1087
+  (0.0ms) begin transaction
1088
+ ------------------------------------------------
1089
+ TestsControllerTest: test_render_multiple_errors
1090
+ ------------------------------------------------
1091
+ Processing by TestsController#index as HTML
1092
+ Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1093
+  (0.0ms) rollback transaction
1094
+  (0.0ms) begin transaction
1095
+ -------------------------------------------------------------
1096
+ TestsControllerTest: test_Predefined_errors_should_be_handled
1097
+ -------------------------------------------------------------
1098
+ Processing by TestsController#show as HTML
2123
1099
  Parameters: {"id"=>"400"}
2124
1100
  400 - Repia::Errors::BadRequest
2125
- Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
2126
- Processing by DummiesController#show as HTML
1101
+ Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1102
+ Processing by TestsController#show as HTML
2127
1103
  Parameters: {"id"=>"401"}
2128
1104
  401 - Repia::Errors::Unauthorized
2129
- Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2130
- Processing by DummiesController#show as HTML
1105
+ Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1106
+ Processing by TestsController#show as HTML
2131
1107
  Parameters: {"id"=>"404"}
2132
1108
  404 - Repia::Errors::NotFound
2133
1109
  Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2134
- Processing by DummiesController#show as HTML
1110
+ Processing by TestsController#show as HTML
2135
1111
  Parameters: {"id"=>"409"}
2136
1112
  409 - Repia::Errors::Conflict
2137
1113
  Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2138
- Processing by DummiesController#show as HTML
1114
+ Processing by TestsController#show as HTML
2139
1115
  Parameters: {"id"=>"500"}
2140
1116
  500 - Repia::Errors::InternalServerError
2141
1117
  Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2142
-  (0.1ms) rollback transaction
2143
-  (0.1ms) begin transaction
2144
- -------------------------------------------------
2145
- DummiesControllerTest: test_handle_standard_error
2146
- -------------------------------------------------
2147
- Processing by DummiesController#create as HTML
2148
- String can't be coerced into Fixnum
2149
- Completed 500 Internal Server Error in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2150
-  (0.1ms) rollback transaction
2151
-  (0.0ms) begin transaction
2152
- ------------------------------------------------------------------
2153
- DummiesControllerTest: test_find_object_will_find_object_if_exists
2154
- ------------------------------------------------------------------
2155
-  (0.1ms) SAVEPOINT active_record_1
2156
- SQL (0.4ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-05-03 01:12:18.231896"], ["updated_at", "2016-05-03 01:12:18.231896"], ["uuid", "145bf2d8-10cc-11e6-9a85-6c4008a6fa2a"]]
2157
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2158
- Processing by DummiesController#update as HTML
2159
- Parameters: {"id"=>"145bf2d8-10cc-11e6-9a85-6c4008a6fa2a"}
2160
- Attempting to get UniqueModel 145bf2d8-10cc-11e6-9a85-6c4008a6fa2a
2161
- UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT 1 [["uuid", "145bf2d8-10cc-11e6-9a85-6c4008a6fa2a"]]
2162
- Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.1ms)
2163
-  (0.9ms) rollback transaction
2164
-  (0.1ms) begin transaction
2165
- ------------------------------------------------------
2166
- DummiesControllerTest: test_options_request_is_handled
2167
- ------------------------------------------------------
2168
- Processing by DummiesController#options as HTML
2169
- Rendered text template (0.0ms)
2170
- Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms)
2171
- Processing by DummiesController#options as HTML
2172
- Rendered text template (0.0ms)
2173
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2174
-  (0.0ms) rollback transaction
2175
-  (0.0ms) begin transaction
2176
- ---------------------------------------------------------------------------
2177
- DummiesControllerTest: test_find_object_will_error_if_object_does_not_exist
2178
- ---------------------------------------------------------------------------
2179
- Processing by DummiesController#update as HTML
1118
+  (0.0ms) rollback transaction
1119
+  (0.0ms) begin transaction
1120
+ -------------------------------------------------------------------------
1121
+ TestsControllerTest: test_find_object_will_error_if_object_does_not_exist
1122
+ -------------------------------------------------------------------------
1123
+ Processing by TestsController#show as HTML
2180
1124
  Parameters: {"id"=>"blah"}
2181
1125
  Attempting to get UniqueModel blah
2182
- UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT 1 [["uuid", "blah"]]
1126
+ UniqueModel Load (0.2ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ? [["uuid", "blah"], ["LIMIT", 1]]
2183
1127
  404 - UniqueModel blah cannot be found
2184
- Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
2185
-  (0.1ms) rollback transaction
2186
-  (0.1ms) begin transaction
2187
- --------------------------------------------------
2188
- DummiesControllerTest: test_render_multiple_errors
2189
- --------------------------------------------------
2190
- Processing by DummiesController#index as HTML
2191
- Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2192
-  (0.0ms) rollback transaction
2193
-  (0.0ms) begin transaction
1128
+ Completed 404 Not Found in 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)
1129
+  (0.0ms) rollback transaction
1130
+  (0.0ms) begin transaction
1131
+ ----------------------------------------------------------------
1132
+ TestsControllerTest: test_find_object_will_find_object_if_exists
1133
+ ----------------------------------------------------------------
1134
+  (0.0ms) SAVEPOINT active_record_1
1135
+ SQL (0.2ms) INSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?) [["uuid", "6b431cea-a8f0-11e6-adac-9801a78f6ec1"], ["created_at", 2016-11-12 15:55:22 UTC], ["updated_at", 2016-11-12 15:55:22 UTC]]
1136
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1137
+ Processing by TestsController#show as HTML
1138
+ Parameters: {"id"=>"6b431cea-a8f0-11e6-adac-9801a78f6ec1"}
1139
+ Attempting to get UniqueModel 6b431cea-a8f0-11e6-adac-9801a78f6ec1
1140
+ UniqueModel Load (0.0ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ? [["uuid", "6b431cea-a8f0-11e6-adac-9801a78f6ec1"], ["LIMIT", 1]]
1141
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1142
+  (2.2ms) rollback transaction
1143
+  (0.1ms) begin transaction
1144
+ ----------------------------------------------------------------------------------------
1145
+ RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
1146
+ ----------------------------------------------------------------------------------------
1147
+  (0.0ms) rollback transaction
1148
+  (0.0ms) begin transaction
2194
1149
  ----------------------------------------------------------------------------------
2195
1150
  RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
2196
1151
  ----------------------------------------------------------------------------------
2197
- ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007fd358918a60>, "rack.errors"=>#<StringIO:0x007fd358918b78>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
2198
-  (0.0ms) rollback transaction
2199
-  (0.1ms) begin transaction
1152
+ ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007fa515d61b60>, "rack.errors"=>#<StringIO:0x007fa515d61bd8>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
1153
+  (0.1ms) rollback transaction
1154
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1155
+  (0.1ms) begin transaction
1156
+ -----------------------------------------------------------------------
1157
+ RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
1158
+ -----------------------------------------------------------------------
1159
+  (0.0ms) SAVEPOINT active_record_1
1160
+ SQL (0.5ms) INSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?) [["uuid", "75d770ac-a8f0-11e6-a569-9801a78f6ec1"], ["created_at", 2016-11-12 15:55:40 UTC], ["updated_at", 2016-11-12 15:55:40 UTC]]
1161
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1162
+  (2.2ms) rollback transaction
1163
+  (0.1ms) begin transaction
1164
+ ----------------------------------------------------------------------------------
1165
+ RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
1166
+ ----------------------------------------------------------------------------------
1167
+ ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007fd7a3d8beb8>, "rack.errors"=>#<StringIO:0x007fd7a3d92f60>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
1168
+  (0.0ms) rollback transaction
1169
+  (0.0ms) begin transaction
2200
1170
  ----------------------------------------------------------------------------------------
2201
1171
  RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
2202
1172
  ----------------------------------------------------------------------------------------
2203
-  (0.0ms) rollback transaction
2204
-  (0.0ms) begin transaction
2205
- ---------------------------------------------------
2206
- RepiaTest: test_Invalid_route_has_401_json_response
2207
- ---------------------------------------------------
2208
-  (0.0ms) rollback transaction
2209
-  (0.0ms) begin transaction
2210
- ------------------------------------------------------------
2211
- RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
2212
- ------------------------------------------------------------
2213
-  (0.0ms) SAVEPOINT active_record_1
2214
- SQL (0.2ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-05-03 01:12:18.275136"], ["updated_at", "2016-05-03 01:12:18.275136"], ["uuid", "14628986-10cc-11e6-9a85-6c4008a6fa2a"]]
2215
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2216
-  (0.4ms) rollback transaction
2217
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2218
-  (0.1ms) begin transaction
2219
- ---------------------------------------------------------------
2220
- DummiesControllerTest: test_Predefined_errors_should_be_handled
2221
- ---------------------------------------------------------------
2222
- Processing by DummiesController#show as HTML
1173
+  (0.1ms) rollback transaction
1174
+  (0.0ms) begin transaction
1175
+ -----------------------------------------------
1176
+ TestsControllerTest: test_handle_standard_error
1177
+ -----------------------------------------------
1178
+ Processing by TestsController#index as HTML
1179
+ StandardError
1180
+ Completed 500 Internal Server Error in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1181
+  (0.1ms) rollback transaction
1182
+  (0.0ms) begin transaction
1183
+ -------------------------------------------------------------------------
1184
+ TestsControllerTest: test_find_object_will_error_if_object_does_not_exist
1185
+ -------------------------------------------------------------------------
1186
+ Processing by TestsController#show as HTML
1187
+ Parameters: {"id"=>"blah"}
1188
+ Attempting to get UniqueModel blah
1189
+ UniqueModel Load (0.2ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ? [["uuid", "blah"], ["LIMIT", 1]]
1190
+ 404 - UniqueModel blah cannot be found
1191
+ Completed 404 Not Found in 4ms (Views: 0.2ms | ActiveRecord: 0.2ms)
1192
+  (0.1ms) rollback transaction
1193
+  (0.0ms) begin transaction
1194
+ ----------------------------------------------------------------
1195
+ TestsControllerTest: test_find_object_will_find_object_if_exists
1196
+ ----------------------------------------------------------------
1197
+  (0.0ms) SAVEPOINT active_record_1
1198
+ SQL (0.3ms) INSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?) [["uuid", "75dd4e46-a8f0-11e6-a569-9801a78f6ec1"], ["created_at", 2016-11-12 15:55:40 UTC], ["updated_at", 2016-11-12 15:55:40 UTC]]
1199
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1200
+ Processing by TestsController#show as HTML
1201
+ Parameters: {"id"=>"75dd4e46-a8f0-11e6-a569-9801a78f6ec1"}
1202
+ Attempting to get UniqueModel 75dd4e46-a8f0-11e6-a569-9801a78f6ec1
1203
+ UniqueModel Load (0.0ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ? [["uuid", "75dd4e46-a8f0-11e6-a569-9801a78f6ec1"], ["LIMIT", 1]]
1204
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
1205
+  (0.3ms) rollback transaction
1206
+  (0.0ms) begin transaction
1207
+ -------------------------------------------------------------
1208
+ TestsControllerTest: test_Predefined_errors_should_be_handled
1209
+ -------------------------------------------------------------
1210
+ Processing by TestsController#show as HTML
2223
1211
  Parameters: {"id"=>"400"}
2224
1212
  400 - Repia::Errors::BadRequest
2225
- Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2226
- Processing by DummiesController#show as HTML
1213
+ Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1214
+ Processing by TestsController#show as HTML
2227
1215
  Parameters: {"id"=>"401"}
2228
1216
  401 - Repia::Errors::Unauthorized
2229
1217
  Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2230
- Processing by DummiesController#show as HTML
1218
+ Processing by TestsController#show as HTML
2231
1219
  Parameters: {"id"=>"404"}
2232
1220
  404 - Repia::Errors::NotFound
2233
1221
  Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2234
- Processing by DummiesController#show as HTML
1222
+ Processing by TestsController#show as HTML
2235
1223
  Parameters: {"id"=>"409"}
2236
1224
  409 - Repia::Errors::Conflict
2237
1225
  Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2238
- Processing by DummiesController#show as HTML
1226
+ Processing by TestsController#show as HTML
2239
1227
  Parameters: {"id"=>"500"}
2240
1228
  500 - Repia::Errors::InternalServerError
2241
1229
  Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2242
-  (0.1ms) rollback transaction
2243
-  (0.0ms) begin transaction
2244
- ---------------------------------------------------------------------------
2245
- DummiesControllerTest: test_find_object_will_error_if_object_does_not_exist
2246
- ---------------------------------------------------------------------------
2247
- Processing by DummiesController#update as HTML
2248
- Parameters: {"id"=>"blah"}
2249
- Attempting to get UniqueModel blah
2250
- UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT 1 [["uuid", "blah"]]
2251
- 404 - UniqueModel blah cannot be found
2252
- Completed 404 Not Found in 6ms (Views: 0.1ms | ActiveRecord: 0.2ms)
2253
-  (0.0ms) rollback transaction
2254
-  (0.0ms) begin transaction
2255
- ------------------------------------------------------------------
2256
- DummiesControllerTest: test_find_object_will_find_object_if_exists
2257
- ------------------------------------------------------------------
2258
-  (0.1ms) SAVEPOINT active_record_1
2259
- SQL (0.4ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-05-03 01:13:11.633341"], ["updated_at", "2016-05-03 01:13:11.633341"], ["uuid", "343059c8-10cc-11e6-a1e1-6c4008a6fa2a"]]
2260
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2261
- Processing by DummiesController#update as HTML
2262
- Parameters: {"id"=>"343059c8-10cc-11e6-a1e1-6c4008a6fa2a"}
2263
- Attempting to get UniqueModel 343059c8-10cc-11e6-a1e1-6c4008a6fa2a
2264
- UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT 1 [["uuid", "343059c8-10cc-11e6-a1e1-6c4008a6fa2a"]]
2265
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
2266
-  (0.8ms) rollback transaction
2267
-  (0.1ms) begin transaction
2268
- ------------------------------------------------------
2269
- DummiesControllerTest: test_options_request_is_handled
2270
- ------------------------------------------------------
2271
- Processing by DummiesController#options as HTML
1230
+  (0.0ms) rollback transaction
1231
+  (0.2ms) begin transaction
1232
+ ----------------------------------------------------
1233
+ TestsControllerTest: test_options_request_is_handled
1234
+ ----------------------------------------------------
1235
+ Processing by TestsController#options as HTML
1236
+ Rendering text template
2272
1237
  Rendered text template (0.0ms)
2273
- Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.0ms)
2274
- Processing by DummiesController#options as HTML
2275
- Rendered text template (0.0ms)
2276
- Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
2277
-  (0.1ms) rollback transaction
2278
-  (0.1ms) begin transaction
2279
- -------------------------------------------------
2280
- DummiesControllerTest: test_handle_standard_error
2281
- -------------------------------------------------
2282
- Processing by DummiesController#create as HTML
2283
- String can't be coerced into Fixnum
2284
- Completed 500 Internal Server Error in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2285
-  (0.1ms) rollback transaction
2286
-  (0.1ms) begin transaction
2287
- --------------------------------------------------
2288
- DummiesControllerTest: test_render_multiple_errors
2289
- --------------------------------------------------
2290
- Processing by DummiesController#index as HTML
2291
- Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2292
-  (0.1ms) rollback transaction
2293
-  (0.1ms) begin transaction
2294
- ------------------------------------------------------------
2295
- RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
2296
- ------------------------------------------------------------
2297
-  (0.0ms) SAVEPOINT active_record_1
2298
- SQL (0.4ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-05-03 01:13:11.668650"], ["updated_at", "2016-05-03 01:13:11.668650"], ["uuid", "3435c0f2-10cc-11e6-a1e1-6c4008a6fa2a"]]
2299
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2300
-  (0.4ms) rollback transaction
2301
-  (0.1ms) begin transaction
2302
- ----------------------------------------------------------------------------------
2303
- RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
2304
- ----------------------------------------------------------------------------------
2305
- ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007fcc55d40070>, "rack.errors"=>#<StringIO:0x007fcc55d40250>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
2306
-  (0.0ms) rollback transaction
2307
-  (0.0ms) begin transaction
2308
- ---------------------------------------------------
2309
- RepiaTest: test_Invalid_route_has_401_json_response
2310
- ---------------------------------------------------
2311
-  (0.0ms) rollback transaction
2312
-  (0.0ms) begin transaction
1238
+ Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)
1239
+ Processing by TestsController#options as HTML
1240
+ Rendering text template
1241
+ Rendered text template (0.0ms)
1242
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
1243
+  (0.1ms) rollback transaction
1244
+  (0.0ms) begin transaction
1245
+ ----------------------------------------
1246
+ TestsControllerTest: test_exceptions_app
1247
+ ----------------------------------------
1248
+ Processing by TestsController#show as HTML
1249
+ Parameters: {"id"=>"blah"}
1250
+ Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1251
+  (0.1ms) rollback transaction
1252
+  (0.1ms) begin transaction
1253
+ ------------------------------------------------
1254
+ TestsControllerTest: test_render_multiple_errors
1255
+ ------------------------------------------------
1256
+ Processing by TestsController#index as HTML
1257
+ Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1258
+  (0.0ms) rollback transaction
1259
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
1260
+  (0.1ms) begin transaction
2313
1261
  ----------------------------------------------------------------------------------------
2314
1262
  RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
2315
1263
  ----------------------------------------------------------------------------------------
2316
-  (0.0ms) rollback transaction
2317
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2318
-  (0.1ms) begin transaction
2319
- -----------------------------------------
2320
- ExampleIntegratedTest: test_invalid_route
2321
- -----------------------------------------
2322
- Started GET "/doesnotexist" for 127.0.0.1 at 2016-05-02 20:15:05 -0500
2323
-  (0.1ms) rollback transaction
2324
-  (0.0ms) begin transaction
2325
- --------------------------------------------------
2326
- DummiesControllerTest: test_render_multiple_errors
2327
- --------------------------------------------------
2328
- Processing by DummiesController#index as HTML
2329
- Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2330
-  (0.0ms) rollback transaction
2331
-  (0.0ms) begin transaction
2332
- ------------------------------------------------------------------
2333
- DummiesControllerTest: test_find_object_will_find_object_if_exists
2334
- ------------------------------------------------------------------
2335
-  (0.0ms) SAVEPOINT active_record_1
2336
- SQL (0.4ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-05-03 01:15:05.129192"], ["updated_at", "2016-05-03 01:15:05.129192"], ["uuid", "77d6716c-10cc-11e6-8362-6c4008a6fa2a"]]
2337
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2338
- Processing by DummiesController#update as HTML
2339
- Parameters: {"id"=>"77d6716c-10cc-11e6-8362-6c4008a6fa2a"}
2340
- Attempting to get UniqueModel 77d6716c-10cc-11e6-8362-6c4008a6fa2a
2341
- UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT 1 [["uuid", "77d6716c-10cc-11e6-8362-6c4008a6fa2a"]]
2342
- Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.1ms)
2343
-  (1.0ms) rollback transaction
2344
-  (0.1ms) begin transaction
2345
- ---------------------------------------------------------------------------
2346
- DummiesControllerTest: test_find_object_will_error_if_object_does_not_exist
2347
- ---------------------------------------------------------------------------
2348
- Processing by DummiesController#update as HTML
1264
+  (0.0ms) rollback transaction
1265
+  (0.0ms) begin transaction
1266
+ ----------------------------------------------------------------------------------
1267
+ RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
1268
+ ----------------------------------------------------------------------------------
1269
+ ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007fa04ad36570>, "rack.errors"=>#<StringIO:0x007fa04ad366b0>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
1270
+  (0.1ms) rollback transaction
1271
+  (0.0ms) begin transaction
1272
+ -------------------------------------------------------------------------
1273
+ TestsControllerTest: test_find_object_will_error_if_object_does_not_exist
1274
+ -------------------------------------------------------------------------
1275
+ Processing by TestsController#show as HTML
2349
1276
  Parameters: {"id"=>"blah"}
2350
1277
  Attempting to get UniqueModel blah
2351
- UniqueModel Load (0.2ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT 1 [["uuid", "blah"]]
1278
+ UniqueModel Load (0.3ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ? [["uuid", "blah"], ["LIMIT", 1]]
2352
1279
  404 - UniqueModel blah cannot be found
2353
- Completed 404 Not Found in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
2354
-  (0.1ms) rollback transaction
2355
-  (0.0ms) begin transaction
2356
- ------------------------------------------------------
2357
- DummiesControllerTest: test_options_request_is_handled
2358
- ------------------------------------------------------
2359
- Processing by DummiesController#options as HTML
2360
- Rendered text template (0.0ms)
2361
- Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)
2362
- Processing by DummiesController#options as HTML
1280
+ Completed 404 Not Found in 7ms (Views: 0.2ms | ActiveRecord: 0.5ms)
1281
+  (0.0ms) rollback transaction
1282
+  (0.0ms) begin transaction
1283
+ -----------------------------------------------
1284
+ TestsControllerTest: test_handle_standard_error
1285
+ -----------------------------------------------
1286
+ Processing by TestsController#index as HTML
1287
+ StandardError
1288
+ Completed 500 Internal Server Error in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1289
+  (0.0ms) rollback transaction
1290
+  (0.0ms) begin transaction
1291
+ ----------------------------------------------------
1292
+ TestsControllerTest: test_options_request_is_handled
1293
+ ----------------------------------------------------
1294
+ Processing by TestsController#options as HTML
1295
+ Rendering text template
2363
1296
  Rendered text template (0.0ms)
2364
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2365
-  (0.0ms) rollback transaction
2366
-  (0.1ms) begin transaction
2367
- -------------------------------------------------
2368
- DummiesControllerTest: test_handle_standard_error
2369
- -------------------------------------------------
2370
- Processing by DummiesController#create as HTML
2371
- String can't be coerced into Fixnum
2372
- Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2373
-  (0.0ms) rollback transaction
2374
-  (0.0ms) begin transaction
2375
- ---------------------------------------------------------------
2376
- DummiesControllerTest: test_Predefined_errors_should_be_handled
2377
- ---------------------------------------------------------------
2378
- Processing by DummiesController#show as HTML
1297
+ Completed 200 OK in 5ms (Views: 5.1ms | ActiveRecord: 0.0ms)
1298
+ Processing by TestsController#options as HTML
1299
+ Rendering text template
1300
+ Rendered text template (0.0ms)
1301
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1302
+  (0.1ms) rollback transaction
1303
+  (0.1ms) begin transaction
1304
+ ----------------------------------------
1305
+ TestsControllerTest: test_exceptions_app
1306
+ ----------------------------------------
1307
+ Processing by TestsController#show as HTML
1308
+ Parameters: {"id"=>"blah"}
1309
+ Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1310
+  (0.0ms) rollback transaction
1311
+  (0.0ms) begin transaction
1312
+ ----------------------------------------------------------------
1313
+ TestsControllerTest: test_find_object_will_find_object_if_exists
1314
+ ----------------------------------------------------------------
1315
+  (0.1ms) SAVEPOINT active_record_1
1316
+ SQL (0.4ms) INSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?) [["uuid", "cf10b15a-ae05-11e6-bfcc-9801a78f6ec1"], ["created_at", 2016-11-19 03:11:05 UTC], ["updated_at", 2016-11-19 03:11:05 UTC]]
1317
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1318
+ Processing by TestsController#show as HTML
1319
+ Parameters: {"id"=>"cf10b15a-ae05-11e6-bfcc-9801a78f6ec1"}
1320
+ Attempting to get UniqueModel cf10b15a-ae05-11e6-bfcc-9801a78f6ec1
1321
+ UniqueModel Load (0.0ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ? [["uuid", "cf10b15a-ae05-11e6-bfcc-9801a78f6ec1"], ["LIMIT", 1]]
1322
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1323
+  (0.3ms) rollback transaction
1324
+  (0.1ms) begin transaction
1325
+ -------------------------------------------------------------
1326
+ TestsControllerTest: test_Predefined_errors_should_be_handled
1327
+ -------------------------------------------------------------
1328
+ Processing by TestsController#show as HTML
2379
1329
  Parameters: {"id"=>"400"}
2380
1330
  400 - Repia::Errors::BadRequest
2381
- Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2382
- Processing by DummiesController#show as HTML
1331
+ Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1332
+ Processing by TestsController#show as HTML
2383
1333
  Parameters: {"id"=>"401"}
2384
1334
  401 - Repia::Errors::Unauthorized
2385
- Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2386
- Processing by DummiesController#show as HTML
1335
+ Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1336
+ Processing by TestsController#show as HTML
2387
1337
  Parameters: {"id"=>"404"}
2388
1338
  404 - Repia::Errors::NotFound
2389
1339
  Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2390
- Processing by DummiesController#show as HTML
1340
+ Processing by TestsController#show as HTML
2391
1341
  Parameters: {"id"=>"409"}
2392
1342
  409 - Repia::Errors::Conflict
2393
1343
  Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2394
- Processing by DummiesController#show as HTML
1344
+ Processing by TestsController#show as HTML
2395
1345
  Parameters: {"id"=>"500"}
2396
1346
  500 - Repia::Errors::InternalServerError
2397
1347
  Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2398
-  (0.1ms) rollback transaction
2399
-  (0.0ms) begin transaction
2400
- ------------------------------------------------------------
2401
- RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
2402
- ------------------------------------------------------------
2403
-  (0.0ms) SAVEPOINT active_record_1
2404
- SQL (0.2ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-05-03 01:15:05.171426"], ["updated_at", "2016-05-03 01:15:05.171426"], ["uuid", "77dce36c-10cc-11e6-8362-6c4008a6fa2a"]]
2405
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2406
-  (0.4ms) rollback transaction
2407
-  (0.0ms) begin transaction
2408
- ----------------------------------------------------------------------------------
2409
- RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
2410
- ----------------------------------------------------------------------------------
2411
- ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007f8b538e88f8>, "rack.errors"=>#<StringIO:0x007f8b538e89e8>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
2412
-  (0.0ms) rollback transaction
2413
-  (0.0ms) begin transaction
1348
+  (0.0ms) rollback transaction
1349
+  (0.1ms) begin transaction
1350
+ ------------------------------------------------
1351
+ TestsControllerTest: test_render_multiple_errors
1352
+ ------------------------------------------------
1353
+ Processing by TestsController#index as HTML
1354
+ Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1355
+  (0.0ms) rollback transaction
1356
+  (0.0ms) begin transaction
1357
+ -----------------------------------------------------------------------
1358
+ RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
1359
+ -----------------------------------------------------------------------
1360
+  (0.0ms) SAVEPOINT active_record_1
1361
+ SQL (0.2ms) INSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?) [["uuid", "cf163fda-ae05-11e6-bfcc-9801a78f6ec1"], ["created_at", 2016-11-19 03:11:05 UTC], ["updated_at", 2016-11-19 03:11:05 UTC]]
1362
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1363
+  (0.3ms) rollback transaction
1364
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1365
+  (0.1ms) begin transaction
2414
1366
  ----------------------------------------------------------------------------------------
2415
1367
  RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
2416
1368
  ----------------------------------------------------------------------------------------
2417
-  (0.0ms) rollback transaction
2418
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2419
-  (0.1ms) begin transaction
2420
- ---------------------------------------------------------------------------
2421
- DummiesControllerTest: test_find_object_will_error_if_object_does_not_exist
2422
- ---------------------------------------------------------------------------
2423
- Processing by DummiesController#update as HTML
1369
+  (0.0ms) rollback transaction
1370
+  (0.0ms) begin transaction
1371
+ ----------------------------------------------------------------------------------
1372
+ RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
1373
+ ----------------------------------------------------------------------------------
1374
+ ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007fb19a4402c0>, "rack.errors"=>#<StringIO:0x007fb19a440338>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
1375
+  (0.0ms) rollback transaction
1376
+  (0.0ms) begin transaction
1377
+ -----------------------------------------------------------------------
1378
+ RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
1379
+ -----------------------------------------------------------------------
1380
+  (0.0ms) SAVEPOINT active_record_1
1381
+ SQL (0.7ms) INSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?) [["uuid", "e6b85fc2-ae70-11e6-8dbb-9801a78f6ec1"], ["created_at", 2016-11-19 15:57:41 UTC], ["updated_at", 2016-11-19 15:57:41 UTC]]
1382
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1383
+  (0.3ms) rollback transaction
1384
+  (0.1ms) begin transaction
1385
+ ----------------------------------------------------------------
1386
+ TestsControllerTest: test_find_object_will_find_object_if_exists
1387
+ ----------------------------------------------------------------
1388
+  (0.1ms) SAVEPOINT active_record_1
1389
+ SQL (0.3ms) INSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?) [["uuid", "e6bcdc00-ae70-11e6-8dbb-9801a78f6ec1"], ["created_at", 2016-11-19 15:57:41 UTC], ["updated_at", 2016-11-19 15:57:41 UTC]]
1390
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1391
+ Processing by TestsController#show as HTML
1392
+ Parameters: {"id"=>"e6bcdc00-ae70-11e6-8dbb-9801a78f6ec1"}
1393
+ Attempting to get UniqueModel e6bcdc00-ae70-11e6-8dbb-9801a78f6ec1
1394
+ UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ? [["uuid", "e6bcdc00-ae70-11e6-8dbb-9801a78f6ec1"], ["LIMIT", 1]]
1395
+ Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1396
+  (0.3ms) rollback transaction
1397
+  (0.0ms) begin transaction
1398
+ -------------------------------------------------------------
1399
+ TestsControllerTest: test_Predefined_errors_should_be_handled
1400
+ -------------------------------------------------------------
1401
+ Processing by TestsController#show as HTML
1402
+ Parameters: {"id"=>"400"}
1403
+ 400 - Repia::Errors::BadRequest
1404
+ Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1405
+ Processing by TestsController#show as HTML
1406
+ Parameters: {"id"=>"401"}
1407
+ 401 - Repia::Errors::Unauthorized
1408
+ Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1409
+ Processing by TestsController#show as HTML
1410
+ Parameters: {"id"=>"404"}
1411
+ 404 - Repia::Errors::NotFound
1412
+ Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1413
+ Processing by TestsController#show as HTML
1414
+ Parameters: {"id"=>"409"}
1415
+ 409 - Repia::Errors::Conflict
1416
+ Completed 409 Conflict in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1417
+ Processing by TestsController#show as HTML
1418
+ Parameters: {"id"=>"500"}
1419
+ 500 - Repia::Errors::InternalServerError
1420
+ Completed 500 Internal Server Error in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
1421
+  (0.1ms) rollback transaction
1422
+  (0.1ms) begin transaction
1423
+ ----------------------------------------------------
1424
+ TestsControllerTest: test_options_request_is_handled
1425
+ ----------------------------------------------------
1426
+ Processing by TestsController#options as HTML
1427
+ Rendering text template
1428
+ Rendered text template (0.0ms)
1429
+ Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)
1430
+ Processing by TestsController#options as HTML
1431
+ Rendering text template
1432
+ Rendered text template (0.0ms)
1433
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1434
+  (0.1ms) rollback transaction
1435
+  (0.0ms) begin transaction
1436
+ ------------------------------------------------
1437
+ TestsControllerTest: test_render_multiple_errors
1438
+ ------------------------------------------------
1439
+ Processing by TestsController#index as HTML
1440
+ Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1441
+  (0.0ms) rollback transaction
1442
+  (0.0ms) begin transaction
1443
+ ----------------------------------------
1444
+ TestsControllerTest: test_exceptions_app
1445
+ ----------------------------------------
1446
+ Processing by TestsController#show as HTML
1447
+ Parameters: {"id"=>"blah"}
1448
+ Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1449
+  (0.0ms) rollback transaction
1450
+  (0.1ms) begin transaction
1451
+ -------------------------------------------------------------------------
1452
+ TestsControllerTest: test_find_object_will_error_if_object_does_not_exist
1453
+ -------------------------------------------------------------------------
1454
+ Processing by TestsController#show as HTML
2424
1455
  Parameters: {"id"=>"blah"}
2425
1456
  Attempting to get UniqueModel blah
2426
- UniqueModel Load (0.2ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT 1 [["uuid", "blah"]]
1457
+ UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ? [["uuid", "blah"], ["LIMIT", 1]]
2427
1458
  404 - UniqueModel blah cannot be found
2428
- Completed 404 Not Found in 12ms (Views: 0.2ms | ActiveRecord: 0.3ms)
2429
-  (0.1ms) rollback transaction
2430
-  (0.0ms) begin transaction
2431
- ------------------------------------------------------------------
2432
- DummiesControllerTest: test_find_object_will_find_object_if_exists
2433
- ------------------------------------------------------------------
2434
-  (0.0ms) SAVEPOINT active_record_1
2435
- SQL (0.3ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-05-03 01:37:52.005441"], ["updated_at", "2016-05-03 01:37:52.005441"], ["uuid", "a68f3860-10cf-11e6-aa48-6c4008a6fa2a"]]
2436
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2437
- Processing by DummiesController#update as HTML
2438
- Parameters: {"id"=>"a68f3860-10cf-11e6-aa48-6c4008a6fa2a"}
2439
- Attempting to get UniqueModel a68f3860-10cf-11e6-aa48-6c4008a6fa2a
2440
- UniqueModel Load (0.0ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT 1 [["uuid", "a68f3860-10cf-11e6-aa48-6c4008a6fa2a"]]
2441
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2442
-  (0.4ms) rollback transaction
2443
-  (0.0ms) begin transaction
2444
- -------------------------------------------------
2445
- DummiesControllerTest: test_handle_standard_error
2446
- -------------------------------------------------
2447
- Processing by DummiesController#create as HTML
2448
- String can't be coerced into Fixnum
1459
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
1460
+  (0.0ms) rollback transaction
1461
+  (0.0ms) begin transaction
1462
+ -----------------------------------------------
1463
+ TestsControllerTest: test_handle_standard_error
1464
+ -----------------------------------------------
1465
+ Processing by TestsController#index as HTML
1466
+ StandardError
2449
1467
  Completed 500 Internal Server Error in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2450
-  (0.0ms) rollback transaction
2451
-  (0.0ms) begin transaction
2452
- ------------------------------------------------------
2453
- DummiesControllerTest: test_options_request_is_handled
2454
- ------------------------------------------------------
2455
- Processing by DummiesController#options as HTML
2456
- Rendered text template (0.0ms)
2457
- Completed 200 OK in 8ms (Views: 7.8ms | ActiveRecord: 0.0ms)
2458
- Processing by DummiesController#options as HTML
1468
+  (0.0ms) rollback transaction
1469
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1470
+  (0.1ms) begin transaction
1471
+ ----------------------------------------------------------------
1472
+ TestsControllerTest: test_find_object_will_find_object_if_exists
1473
+ ----------------------------------------------------------------
1474
+  (0.1ms) SAVEPOINT active_record_1
1475
+ SQL (0.3ms) INSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?) [["uuid", "6f8fae8a-ae72-11e6-81f2-9801a78f6ec1"], ["created_at", 2016-11-19 16:08:40 UTC], ["updated_at", 2016-11-19 16:08:40 UTC]]
1476
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1477
+ Processing by TestsController#show as HTML
1478
+ Parameters: {"id"=>"6f8fae8a-ae72-11e6-81f2-9801a78f6ec1"}
1479
+ Attempting to get UniqueModel 6f8fae8a-ae72-11e6-81f2-9801a78f6ec1
1480
+ UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ? [["uuid", "6f8fae8a-ae72-11e6-81f2-9801a78f6ec1"], ["LIMIT", 1]]
1481
+ Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.1ms)
1482
+  (2.0ms) rollback transaction
1483
+  (0.0ms) begin transaction
1484
+ ----------------------------------------------------
1485
+ TestsControllerTest: test_options_request_is_handled
1486
+ ----------------------------------------------------
1487
+ Processing by TestsController#options as HTML
1488
+ Rendering text template
1489
+ Rendered text template (0.0ms)
1490
+ Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)
1491
+ Processing by TestsController#options as HTML
1492
+ Rendering text template
2459
1493
  Rendered text template (0.0ms)
2460
1494
  Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2461
-  (0.1ms) rollback transaction
2462
-  (0.0ms) begin transaction
2463
- ------------------------------------------
2464
- DummiesControllerTest: test_exceptions_app
2465
- ------------------------------------------
2466
- Processing by DummiesController#destroy as HTML
1495
+  (0.0ms) rollback transaction
1496
+  (0.0ms) begin transaction
1497
+ ------------------------------------------------
1498
+ TestsControllerTest: test_render_multiple_errors
1499
+ ------------------------------------------------
1500
+ Processing by TestsController#index as HTML
1501
+ Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1502
+  (0.0ms) rollback transaction
1503
+  (0.0ms) begin transaction
1504
+ ----------------------------------------
1505
+ TestsControllerTest: test_exceptions_app
1506
+ ----------------------------------------
1507
+ Processing by TestsController#show as HTML
2467
1508
  Parameters: {"id"=>"blah"}
2468
- wrong number of arguments (0 for 1..2)
2469
- Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2470
-  (0.0ms) rollback transaction
2471
-  (0.0ms) begin transaction
2472
- --------------------------------------------------
2473
- DummiesControllerTest: test_render_multiple_errors
2474
- --------------------------------------------------
2475
- Processing by DummiesController#index as HTML
2476
- Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2477
-  (0.0ms) rollback transaction
2478
-  (0.0ms) begin transaction
2479
- ---------------------------------------------------------------
2480
- DummiesControllerTest: test_Predefined_errors_should_be_handled
2481
- ---------------------------------------------------------------
2482
- Processing by DummiesController#show as HTML
1509
+ Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1510
+  (0.0ms) rollback transaction
1511
+  (0.1ms) begin transaction
1512
+ -------------------------------------------------------------------------
1513
+ TestsControllerTest: test_find_object_will_error_if_object_does_not_exist
1514
+ -------------------------------------------------------------------------
1515
+ Processing by TestsController#show as HTML
1516
+ Parameters: {"id"=>"blah"}
1517
+ Attempting to get UniqueModel blah
1518
+ UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ? [["uuid", "blah"], ["LIMIT", 1]]
1519
+ 404 - UniqueModel blah cannot be found
1520
+ Completed 404 Not Found in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1521
+  (0.1ms) rollback transaction
1522
+  (0.1ms) begin transaction
1523
+ -------------------------------------------------------------
1524
+ TestsControllerTest: test_Predefined_errors_should_be_handled
1525
+ -------------------------------------------------------------
1526
+ Processing by TestsController#show as HTML
2483
1527
  Parameters: {"id"=>"400"}
2484
1528
  400 - Repia::Errors::BadRequest
2485
- Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2486
- Processing by DummiesController#show as HTML
1529
+ Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1530
+ Processing by TestsController#show as HTML
2487
1531
  Parameters: {"id"=>"401"}
2488
1532
  401 - Repia::Errors::Unauthorized
2489
- Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2490
- Processing by DummiesController#show as HTML
1533
+ Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1534
+ Processing by TestsController#show as HTML
2491
1535
  Parameters: {"id"=>"404"}
2492
1536
  404 - Repia::Errors::NotFound
2493
1537
  Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2494
- Processing by DummiesController#show as HTML
1538
+ Processing by TestsController#show as HTML
2495
1539
  Parameters: {"id"=>"409"}
2496
1540
  409 - Repia::Errors::Conflict
2497
1541
  Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2498
- Processing by DummiesController#show as HTML
1542
+ Processing by TestsController#show as HTML
2499
1543
  Parameters: {"id"=>"500"}
2500
1544
  500 - Repia::Errors::InternalServerError
2501
1545
  Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2502
-  (0.0ms) rollback transaction
2503
-  (0.0ms) begin transaction
1546
+  (0.1ms) rollback transaction
1547
+  (0.0ms) begin transaction
1548
+ -----------------------------------------------
1549
+ TestsControllerTest: test_handle_standard_error
1550
+ -----------------------------------------------
1551
+ Processing by TestsController#index as HTML
1552
+ StandardError
1553
+ Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1554
+  (0.0ms) rollback transaction
1555
+  (0.1ms) begin transaction
1556
+ -----------------------------------------------------------------------
1557
+ RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
1558
+ -----------------------------------------------------------------------
1559
+  (0.0ms) SAVEPOINT active_record_1
1560
+ SQL (0.2ms) INSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?) [["uuid", "6f986ade-ae72-11e6-81f2-9801a78f6ec1"], ["created_at", 2016-11-19 16:08:40 UTC], ["updated_at", 2016-11-19 16:08:40 UTC]]
1561
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1562
+  (0.3ms) rollback transaction
1563
+  (0.0ms) begin transaction
2504
1564
  ----------------------------------------------------------------------------------------
2505
1565
  RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
2506
1566
  ----------------------------------------------------------------------------------------
2507
-  (0.0ms) rollback transaction
2508
-  (0.0ms) begin transaction
1567
+  (0.0ms) rollback transaction
1568
+  (0.0ms) begin transaction
2509
1569
  ----------------------------------------------------------------------------------
2510
1570
  RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
2511
1571
  ----------------------------------------------------------------------------------
2512
- ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007fac4fbd04b8>, "rack.errors"=>#<StringIO:0x007fac4fbd05a8>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
2513
-  (0.0ms) rollback transaction
2514
-  (0.1ms) begin transaction
2515
- ------------------------------------------------------------
2516
- RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
2517
- ------------------------------------------------------------
2518
-  (0.0ms) SAVEPOINT active_record_1
2519
- SQL (0.2ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-05-03 01:37:52.044404"], ["updated_at", "2016-05-03 01:37:52.044404"], ["uuid", "a6952874-10cf-11e6-aa48-6c4008a6fa2a"]]
2520
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2521
-  (0.3ms) rollback transaction
2522
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2523
-  (0.1ms) begin transaction
2524
- ------------------------------------------------------
2525
- DummiesControllerTest: test_options_request_is_handled
2526
- ------------------------------------------------------
2527
- Processing by DummiesController#options as HTML
2528
- Rendered text template (0.0ms)
2529
- Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
2530
- Processing by DummiesController#options as HTML
1572
+ ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007ff8369c44c0>, "rack.errors"=>#<StringIO:0x007ff8369c4560>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
1573
+  (0.0ms) rollback transaction
1574
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1575
+  (0.1ms) begin transaction
1576
+ -----------------------------------------------------------------------
1577
+ RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
1578
+ -----------------------------------------------------------------------
1579
+  (0.1ms) SAVEPOINT active_record_1
1580
+ SQL (0.4ms) INSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?) [["uuid", "2a08432a-ae74-11e6-b644-9801a78f6ec1"], ["created_at", 2016-11-19 16:21:02 UTC], ["updated_at", 2016-11-19 16:21:02 UTC]]
1581
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1582
+  (0.3ms) rollback transaction
1583
+  (0.1ms) begin transaction
1584
+ ----------------------------------------
1585
+ TestsControllerTest: test_exceptions_app
1586
+ ----------------------------------------
1587
+ Processing by TestsController#show as HTML
1588
+ Parameters: {"id"=>"blah"}
1589
+ Completed 404 Not Found in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)
1590
+  (0.1ms) rollback transaction
1591
+  (0.0ms) begin transaction
1592
+ ----------------------------------------------------
1593
+ TestsControllerTest: test_options_request_is_handled
1594
+ ----------------------------------------------------
1595
+ Processing by TestsController#options as HTML
1596
+ Rendering text template
1597
+ Rendered text template (0.0ms)
1598
+ Completed 200 OK in 3ms (Views: 3.2ms | ActiveRecord: 0.0ms)
1599
+ Processing by TestsController#options as HTML
1600
+ Rendering text template
2531
1601
  Rendered text template (0.0ms)
2532
1602
  Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2533
-  (0.0ms) rollback transaction
2534
-  (0.0ms) begin transaction
2535
- -------------------------------------------------
2536
- DummiesControllerTest: test_handle_standard_error
2537
- -------------------------------------------------
2538
- Processing by DummiesController#create as HTML
2539
- String can't be coerced into Fixnum
2540
- Completed 500 Internal Server Error in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2541
-  (0.0ms) rollback transaction
2542
-  (0.0ms) begin transaction
2543
- ---------------------------------------------------------------
2544
- DummiesControllerTest: test_Predefined_errors_should_be_handled
2545
- ---------------------------------------------------------------
2546
- Processing by DummiesController#show as HTML
1603
+  (0.1ms) rollback transaction
1604
+  (0.0ms) begin transaction
1605
+ ----------------------------------------------------------------
1606
+ TestsControllerTest: test_find_object_will_find_object_if_exists
1607
+ ----------------------------------------------------------------
1608
+  (0.0ms) SAVEPOINT active_record_1
1609
+ SQL (0.3ms) INSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?) [["uuid", "2a0e6354-ae74-11e6-b644-9801a78f6ec1"], ["created_at", 2016-11-19 16:21:02 UTC], ["updated_at", 2016-11-19 16:21:02 UTC]]
1610
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1611
+ Processing by TestsController#show as HTML
1612
+ Parameters: {"id"=>"2a0e6354-ae74-11e6-b644-9801a78f6ec1"}
1613
+ Attempting to get UniqueModel 2a0e6354-ae74-11e6-b644-9801a78f6ec1
1614
+ UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ? [["uuid", "2a0e6354-ae74-11e6-b644-9801a78f6ec1"], ["LIMIT", 1]]
1615
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.1ms)
1616
+  (6.8ms) rollback transaction
1617
+  (0.1ms) begin transaction
1618
+ -----------------------------------------------
1619
+ TestsControllerTest: test_handle_standard_error
1620
+ -----------------------------------------------
1621
+ Processing by TestsController#index as HTML
1622
+ StandardError
1623
+ Completed 500 Internal Server Error in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1624
+  (0.1ms) rollback transaction
1625
+  (0.0ms) begin transaction
1626
+ ------------------------------------------------
1627
+ TestsControllerTest: test_render_multiple_errors
1628
+ ------------------------------------------------
1629
+ Processing by TestsController#index as HTML
1630
+ Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1631
+  (0.1ms) rollback transaction
1632
+  (0.0ms) begin transaction
1633
+ -------------------------------------------------------------------------
1634
+ TestsControllerTest: test_find_object_will_error_if_object_does_not_exist
1635
+ -------------------------------------------------------------------------
1636
+ Processing by TestsController#show as HTML
1637
+ Parameters: {"id"=>"blah"}
1638
+ Attempting to get UniqueModel blah
1639
+ UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ? [["uuid", "blah"], ["LIMIT", 1]]
1640
+ 404 - UniqueModel blah cannot be found
1641
+ Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1642
+  (0.0ms) rollback transaction
1643
+  (0.1ms) begin transaction
1644
+ -------------------------------------------------------------
1645
+ TestsControllerTest: test_Predefined_errors_should_be_handled
1646
+ -------------------------------------------------------------
1647
+ Processing by TestsController#show as HTML
2547
1648
  Parameters: {"id"=>"400"}
2548
1649
  400 - Repia::Errors::BadRequest
2549
1650
  Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2550
- Processing by DummiesController#show as HTML
1651
+ Processing by TestsController#show as HTML
2551
1652
  Parameters: {"id"=>"401"}
2552
1653
  401 - Repia::Errors::Unauthorized
2553
1654
  Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2554
- Processing by DummiesController#show as HTML
1655
+ Processing by TestsController#show as HTML
2555
1656
  Parameters: {"id"=>"404"}
2556
1657
  404 - Repia::Errors::NotFound
2557
1658
  Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2558
- Processing by DummiesController#show as HTML
1659
+ Processing by TestsController#show as HTML
2559
1660
  Parameters: {"id"=>"409"}
2560
1661
  409 - Repia::Errors::Conflict
2561
1662
  Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2562
- Processing by DummiesController#show as HTML
1663
+ Processing by TestsController#show as HTML
2563
1664
  Parameters: {"id"=>"500"}
2564
1665
  500 - Repia::Errors::InternalServerError
2565
1666
  Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2566
-  (0.0ms) rollback transaction
2567
-  (0.0ms) begin transaction
2568
- ---------------------------------------------------------------------------
2569
- DummiesControllerTest: test_find_object_will_error_if_object_does_not_exist
2570
- ---------------------------------------------------------------------------
2571
- Processing by DummiesController#update as HTML
2572
- Parameters: {"id"=>"blah"}
2573
- Attempting to get UniqueModel blah
2574
- UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT 1 [["uuid", "blah"]]
2575
- 404 - UniqueModel blah cannot be found
2576
- Completed 404 Not Found in 6ms (Views: 0.2ms | ActiveRecord: 0.2ms)
2577
-  (0.1ms) rollback transaction
2578
-  (0.1ms) begin transaction
2579
- ------------------------------------------
2580
- DummiesControllerTest: test_exceptions_app
2581
- ------------------------------------------
2582
- Processing by DummiesController#destroy as HTML
2583
- Parameters: {"id"=>"blah"}
2584
- Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2585
-  (0.0ms) rollback transaction
2586
-  (0.0ms) begin transaction
2587
- ------------------------------------------------------------------
2588
- DummiesControllerTest: test_find_object_will_find_object_if_exists
2589
- ------------------------------------------------------------------
2590
-  (0.0ms) SAVEPOINT active_record_1
2591
- SQL (0.4ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-05-03 01:39:44.878527"], ["updated_at", "2016-05-03 01:39:44.878527"], ["uuid", "e9d64618-10cf-11e6-8840-6c4008a6fa2a"]]
2592
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2593
- Processing by DummiesController#update as HTML
2594
- Parameters: {"id"=>"e9d64618-10cf-11e6-8840-6c4008a6fa2a"}
2595
- Attempting to get UniqueModel e9d64618-10cf-11e6-8840-6c4008a6fa2a
2596
- UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT 1 [["uuid", "e9d64618-10cf-11e6-8840-6c4008a6fa2a"]]
2597
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
2598
-  (0.9ms) rollback transaction
2599
-  (0.1ms) begin transaction
2600
- --------------------------------------------------
2601
- DummiesControllerTest: test_render_multiple_errors
2602
- --------------------------------------------------
2603
- Processing by DummiesController#index as HTML
2604
- Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2605
-  (0.1ms) rollback transaction
2606
-  (0.0ms) begin transaction
1667
+  (0.0ms) rollback transaction
1668
+  (0.0ms) begin transaction
1669
+ ----------------------------------------------------------------------------------------
1670
+ RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
1671
+ ----------------------------------------------------------------------------------------
1672
+  (0.0ms) rollback transaction
1673
+  (0.0ms) begin transaction
2607
1674
  ----------------------------------------------------------------------------------
2608
1675
  RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
2609
1676
  ----------------------------------------------------------------------------------
2610
- ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007fdafc4a1328>, "rack.errors"=>#<StringIO:0x007fdafc4a13c8>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
2611
-  (0.0ms) rollback transaction
2612
-  (0.0ms) begin transaction
2613
- ------------------------------------------------------------
2614
- RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
2615
- ------------------------------------------------------------
2616
-  (0.0ms) SAVEPOINT active_record_1
2617
- SQL (0.2ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-05-03 01:39:44.899727"], ["updated_at", "2016-05-03 01:39:44.899727"], ["uuid", "e9d98378-10cf-11e6-8840-6c4008a6fa2a"]]
2618
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2619
-  (0.4ms) rollback transaction
2620
-  (0.1ms) begin transaction
1677
+ ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007feb1d66ed78>, "rack.errors"=>#<StringIO:0x007feb1d66ee90>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
1678
+  (0.0ms) rollback transaction
1679
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1680
+  (0.1ms) begin transaction
1681
+ ----------------------------------------------------------------------------------
1682
+ RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
1683
+ ----------------------------------------------------------------------------------
1684
+ ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007fbee32d3080>, "rack.errors"=>#<StringIO:0x007fbee32d30f8>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
1685
+  (0.0ms) rollback transaction
1686
+  (0.0ms) begin transaction
2621
1687
  ----------------------------------------------------------------------------------------
2622
1688
  RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
2623
1689
  ----------------------------------------------------------------------------------------
2624
-  (0.0ms) rollback transaction
2625
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2626
-  (0.1ms) begin transaction
2627
- ------------------------------------------------------------------
2628
- DummiesControllerTest: test_find_object_will_find_object_if_exists
2629
- ------------------------------------------------------------------
2630
-  (0.1ms) SAVEPOINT active_record_1
2631
- SQL (1.2ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-05-03 01:40:42.055680"], ["updated_at", "2016-05-03 01:40:42.055680"], ["uuid", "0bead214-10d0-11e6-9cce-6c4008a6fa2a"]]
2632
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2633
- Processing by DummiesController#update as HTML
2634
- Parameters: {"id"=>"0bead214-10d0-11e6-9cce-6c4008a6fa2a"}
2635
- Attempting to get UniqueModel 0bead214-10d0-11e6-9cce-6c4008a6fa2a
2636
- UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT 1 [["uuid", "0bead214-10d0-11e6-9cce-6c4008a6fa2a"]]
2637
- Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.1ms)
2638
-  (0.9ms) rollback transaction
2639
-  (0.1ms) begin transaction
2640
- ---------------------------------------------------------------------------
2641
- DummiesControllerTest: test_find_object_will_error_if_object_does_not_exist
2642
- ---------------------------------------------------------------------------
2643
- Processing by DummiesController#update as HTML
1690
+  (0.0ms) rollback transaction
1691
+  (0.0ms) begin transaction
1692
+ -----------------------------------------------------------------------
1693
+ RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
1694
+ -----------------------------------------------------------------------
1695
+  (0.0ms) SAVEPOINT active_record_1
1696
+ SQL (0.4ms) INSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?) [["uuid", "0d2a9e2c-ae76-11e6-b2bd-9801a78f6ec1"], ["created_at", 2016-11-19 16:34:33 UTC], ["updated_at", 2016-11-19 16:34:33 UTC]]
1697
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1698
+  (2.0ms) rollback transaction
1699
+  (0.1ms) begin transaction
1700
+ ------------------------------------------------
1701
+ TestsControllerTest: test_render_multiple_errors
1702
+ ------------------------------------------------
1703
+ Processing by TestsController#index as HTML
1704
+ Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1705
+  (0.0ms) rollback transaction
1706
+  (0.0ms) begin transaction
1707
+ ----------------------------------------
1708
+ TestsControllerTest: test_exceptions_app
1709
+ ----------------------------------------
1710
+ Processing by TestsController#show as HTML
1711
+ Parameters: {"id"=>"blah"}
1712
+ Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1713
+  (0.0ms) rollback transaction
1714
+  (0.0ms) begin transaction
1715
+ -----------------------------------------------
1716
+ TestsControllerTest: test_handle_standard_error
1717
+ -----------------------------------------------
1718
+ Processing by TestsController#index as HTML
1719
+ StandardError
1720
+ Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1721
+  (0.0ms) rollback transaction
1722
+  (0.1ms) begin transaction
1723
+ ----------------------------------------------------------------
1724
+ TestsControllerTest: test_find_object_will_find_object_if_exists
1725
+ ----------------------------------------------------------------
1726
+  (0.0ms) SAVEPOINT active_record_1
1727
+ SQL (0.2ms) INSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?) [["uuid", "0d308bd4-ae76-11e6-b2bd-9801a78f6ec1"], ["created_at", 2016-11-19 16:34:33 UTC], ["updated_at", 2016-11-19 16:34:33 UTC]]
1728
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1729
+ Processing by TestsController#show as HTML
1730
+ Parameters: {"id"=>"0d308bd4-ae76-11e6-b2bd-9801a78f6ec1"}
1731
+ Attempting to get UniqueModel 0d308bd4-ae76-11e6-b2bd-9801a78f6ec1
1732
+ UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ? [["uuid", "0d308bd4-ae76-11e6-b2bd-9801a78f6ec1"], ["LIMIT", 1]]
1733
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.1ms)
1734
+  (0.5ms) rollback transaction
1735
+  (0.0ms) begin transaction
1736
+ -------------------------------------------------------------------------
1737
+ TestsControllerTest: test_find_object_will_error_if_object_does_not_exist
1738
+ -------------------------------------------------------------------------
1739
+ Processing by TestsController#show as HTML
2644
1740
  Parameters: {"id"=>"blah"}
2645
1741
  Attempting to get UniqueModel blah
2646
- UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT 1 [["uuid", "blah"]]
1742
+ UniqueModel Load (0.1ms) SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ? [["uuid", "blah"], ["LIMIT", 1]]
2647
1743
  404 - UniqueModel blah cannot be found
2648
1744
  Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
2649
-  (0.1ms) rollback transaction
2650
-  (0.1ms) begin transaction
2651
- ---------------------------------------------------------------
2652
- DummiesControllerTest: test_Predefined_errors_should_be_handled
2653
- ---------------------------------------------------------------
2654
- Processing by DummiesController#show as HTML
1745
+  (0.1ms) rollback transaction
1746
+  (0.0ms) begin transaction
1747
+ ----------------------------------------------------
1748
+ TestsControllerTest: test_options_request_is_handled
1749
+ ----------------------------------------------------
1750
+ Processing by TestsController#options as HTML
1751
+ Rendering text template
1752
+ Rendered text template (0.0ms)
1753
+ Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)
1754
+ Processing by TestsController#options as HTML
1755
+ Rendering text template
1756
+ Rendered text template (0.0ms)
1757
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1758
+  (0.1ms) rollback transaction
1759
+  (0.0ms) begin transaction
1760
+ -------------------------------------------------------------
1761
+ TestsControllerTest: test_Predefined_errors_should_be_handled
1762
+ -------------------------------------------------------------
1763
+ Processing by TestsController#show as HTML
2655
1764
  Parameters: {"id"=>"400"}
2656
1765
  400 - Repia::Errors::BadRequest
2657
- Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2658
- Processing by DummiesController#show as HTML
1766
+ Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1767
+ Processing by TestsController#show as HTML
2659
1768
  Parameters: {"id"=>"401"}
2660
1769
  401 - Repia::Errors::Unauthorized
2661
1770
  Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2662
- Processing by DummiesController#show as HTML
1771
+ Processing by TestsController#show as HTML
2663
1772
  Parameters: {"id"=>"404"}
2664
1773
  404 - Repia::Errors::NotFound
2665
1774
  Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2666
- Processing by DummiesController#show as HTML
1775
+ Processing by TestsController#show as HTML
2667
1776
  Parameters: {"id"=>"409"}
2668
1777
  409 - Repia::Errors::Conflict
2669
1778
  Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2670
- Processing by DummiesController#show as HTML
1779
+ Processing by TestsController#show as HTML
2671
1780
  Parameters: {"id"=>"500"}
2672
1781
  500 - Repia::Errors::InternalServerError
2673
1782
  Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2674
-  (0.1ms) rollback transaction
2675
-  (0.0ms) begin transaction
2676
- ------------------------------------------
2677
- DummiesControllerTest: test_exceptions_app
2678
- ------------------------------------------
2679
- Processing by DummiesController#destroy as HTML
2680
- Parameters: {"id"=>"blah"}
2681
- Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2682
-  (0.1ms) rollback transaction
2683
-  (0.0ms) begin transaction
2684
- --------------------------------------------------
2685
- DummiesControllerTest: test_render_multiple_errors
2686
- --------------------------------------------------
2687
- Processing by DummiesController#index as HTML
2688
- Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2689
-  (0.1ms) rollback transaction
2690
-  (0.1ms) begin transaction
2691
- ------------------------------------------------------
2692
- DummiesControllerTest: test_options_request_is_handled
2693
- ------------------------------------------------------
2694
- Processing by DummiesController#options as HTML
2695
- Rendered text template (0.0ms)
2696
- Completed 200 OK in 5ms (Views: 5.2ms | ActiveRecord: 0.0ms)
2697
- Processing by DummiesController#options as HTML
2698
- Rendered text template (0.0ms)
2699
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2700
-  (0.0ms) rollback transaction
2701
-  (0.1ms) begin transaction
2702
- -------------------------------------------------
2703
- DummiesControllerTest: test_handle_standard_error
2704
- -------------------------------------------------
2705
- Processing by DummiesController#create as HTML
2706
- String can't be coerced into Fixnum
2707
- Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2708
-  (0.0ms) rollback transaction
2709
-  (0.0ms) begin transaction
2710
- ----------------------------------------------------------------------------------------
2711
- RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
2712
- ----------------------------------------------------------------------------------------
2713
-  (0.0ms) rollback transaction
2714
-  (0.1ms) begin transaction
2715
- ----------------------------------------------------------------------------------
2716
- RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
2717
- ----------------------------------------------------------------------------------
2718
- ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007f9e511a2880>, "rack.errors"=>#<StringIO:0x007f9e511a2948>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
2719
-  (0.0ms) rollback transaction
2720
-  (0.1ms) begin transaction
2721
- ------------------------------------------------------------
2722
- RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
2723
- ------------------------------------------------------------
2724
-  (0.0ms) SAVEPOINT active_record_1
2725
- SQL (0.2ms) INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-05-03 01:40:42.107871"], ["updated_at", "2016-05-03 01:40:42.107871"], ["uuid", "0bf2c780-10d0-11e6-9cce-6c4008a6fa2a"]]
2726
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2727
-  (0.5ms) rollback transaction
1783
+  (0.0ms) rollback transaction