repia 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +21 -0
- data/README.md +71 -0
- data/Rakefile +1 -0
- data/lib/repia/base_controller.rb +33 -0
- data/lib/repia/{core.rb → base_helper.rb} +12 -53
- data/lib/repia/uuid_model.rb +28 -0
- data/lib/repia/version.rb +1 -1
- data/lib/repia.rb +3 -1
- data/test/dummy/app/models/unique_model.rb +1 -0
- data/test/dummy/config/application.rb +1 -1
- data/test/dummy/config/environments/test.rb +2 -2
- data/test/dummy/log/test.log +1464 -2408
- data/test/repia_base_controller_test.rb +97 -0
- data/test/repia_middlewares_test.rb +20 -0
- data/test/repia_test.rb +0 -66
- data/test/repia_unique_model_test.rb +11 -0
- metadata +33 -27
- data/test/dummy/app/controllers/dummies_controller.rb +0 -36
- data/test/dummy/log/development.log +0 -2
data/test/dummy/log/test.log
CHANGED
@@ -1,2727 +1,1783 @@
|
|
1
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.
|
1
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2
2
|
[1m[35m (0.1ms)[0m begin transaction
|
3
|
-
|
4
|
-
|
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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13
|
-
[1m[35m (0.0ms)[0m 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
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
20
7
|
[1m[35m (0.0ms)[0m begin transaction
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
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
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
28
13
|
[1m[35m (0.0ms)[0m begin transaction
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
14
|
+
-----------------------------------------------------------------------
|
15
|
+
RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
16
|
+
-----------------------------------------------------------------------
|
17
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
18
|
+
[1m[35mSQL (0.7ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
21
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
36
|
-
Processing by
|
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
|
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
|
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
|
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
|
-
[1m[
|
53
|
-
[1m[
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
[1m[35m (0.
|
61
|
-
[1m[
|
62
|
-
|
63
|
-
|
64
|
-
|
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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
70
|
-
[1m[35m (0.0ms)[0m begin transaction
|
71
|
-
------------------------------------------------------
|
72
|
-
DummiesControllerTest: test_options_request_is_handled
|
73
|
-
------------------------------------------------------
|
74
|
-
Processing by DummiesController#options as HTML
|
45
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
46
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
77
|
-
Processing by
|
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.
|
63
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
64
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
65
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
66
|
+
----------------------------------------------------------------
|
67
|
+
TestsControllerTest: test_find_object_will_find_object_if_exists
|
68
|
+
----------------------------------------------------------------
|
69
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
70
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mUniqueModel Load (0.1ms)[0m [1mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT 1[0m [["uuid", "f8e7f042-46ea-11e6-91df-9801a78f6ec1"]]
|
76
|
+
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
77
|
+
[1m[35m (1.9ms)[0m rollback transaction
|
78
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35mUniqueModel Load (0.1ms)[0m 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
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
81
89
|
[1m[35m (0.0ms)[0m begin transaction
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
Processing by
|
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
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
96
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
104
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
105
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
106
|
+
----------------------------------------------------------------------------------------
|
107
|
+
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
108
|
+
----------------------------------------------------------------------------------------
|
109
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
110
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
116
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
117
|
+
-----------------------------------------------------------------------
|
118
|
+
RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
119
|
+
-----------------------------------------------------------------------
|
120
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
121
|
+
[1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
123
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
124
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
132
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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.
|
89
|
-
Processing by
|
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
|
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.
|
97
|
-
Processing by
|
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.
|
101
|
-
Processing by
|
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
|
-
[1m[
|
106
|
-
[1m[35m (0.0ms)[0m
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
[1m[
|
125
|
-
[1m[35m (
|
126
|
-
|
127
|
-
|
156
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
157
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
165
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[36mUniqueModel Load (0.2ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
176
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
177
|
+
----------------------------------------------------------------
|
178
|
+
TestsControllerTest: test_find_object_will_find_object_if_exists
|
179
|
+
----------------------------------------------------------------
|
180
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
181
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "e4f342c0-a564-11e6-9a54-9801a78f6ec1"], ["LIMIT", 1]]
|
187
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
188
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
189
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
202
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
128
203
|
------------------------------------------------
|
129
|
-
|
204
|
+
TestsControllerTest: test_render_multiple_errors
|
130
205
|
------------------------------------------------
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
206
|
+
Processing by TestsController#index as HTML
|
207
|
+
Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
208
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
209
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
210
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[36mUniqueModel Load (0.2ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
221
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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.
|
140
|
-
Processing by
|
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
|
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
|
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
|
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
|
-
[1m[
|
157
|
-
[1m[35m (0.0ms)[0m
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
Processing by
|
245
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
246
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
254
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
261
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
262
|
+
----------------------------------------------------------------
|
263
|
+
TestsControllerTest: test_find_object_will_find_object_if_exists
|
264
|
+
----------------------------------------------------------------
|
265
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
266
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mUniqueModel Load (0.0ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "6d50bb1a-a566-11e6-b26c-9801a78f6ec1"], ["LIMIT", 1]]
|
272
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
273
|
+
[1m[35m (2.0ms)[0m [1m[31mrollback transaction[0m
|
274
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
282
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
164
|
-
Processing by
|
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
|
-
[1m[
|
168
|
-
[1m[35m (0.0ms)[0m
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
[1m[
|
175
|
-
[1m[35m (0.
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
[1m[
|
188
|
-
[1m[
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
[1m[
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
294
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
295
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
296
|
+
-----------------------------------------------------------------------
|
297
|
+
RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
298
|
+
-----------------------------------------------------------------------
|
299
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
300
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
302
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
303
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
304
|
+
----------------------------------------------------------------------------------------
|
305
|
+
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
306
|
+
----------------------------------------------------------------------------------------
|
307
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
308
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
314
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
315
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
323
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
331
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[36mUniqueModel Load (0.3ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
342
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
349
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
350
|
+
----------------------------------------------------------------
|
351
|
+
TestsControllerTest: test_find_object_will_find_object_if_exists
|
352
|
+
----------------------------------------------------------------
|
353
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
354
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "bb195c0a-a8ed-11e6-bf2c-9801a78f6ec1"], ["LIMIT", 1]]
|
360
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
361
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
362
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
375
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
208
|
-
Processing by
|
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
|
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
|
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
|
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
|
-
[1m[35m (0.1ms)[0m
|
225
|
-
[1m[
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
399
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
400
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
401
|
+
-----------------------------------------------------------------------
|
402
|
+
RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
403
|
+
-----------------------------------------------------------------------
|
404
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
405
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
407
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
408
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
409
|
+
----------------------------------------------------------------------------------------
|
410
|
+
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
411
|
+
----------------------------------------------------------------------------------------
|
412
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
413
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
419
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
420
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
421
|
+
----------------------------------------------------------------
|
422
|
+
TestsControllerTest: test_find_object_will_find_object_if_exists
|
423
|
+
----------------------------------------------------------------
|
424
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
425
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "430ddbe0-a8ee-11e6-95da-9801a78f6ec1"], ["LIMIT", 1]]
|
431
|
+
Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
432
|
+
[1m[35m (2.2ms)[0m [1m[31mrollback transaction[0m
|
433
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
441
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.
|
233
|
-
[1m[
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
Processing by
|
238
|
-
|
239
|
-
|
240
|
-
[1m[
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
448
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
449
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
460
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m
|
251
|
-
[1m[
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
257
|
-
[1m[35m (0.1ms)[0m begin transaction
|
258
|
-
------------------------------------------------------------
|
259
|
-
RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
260
|
-
------------------------------------------------------------
|
261
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
262
|
-
[1m[35mSQL (0.7ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
264
|
-
[1m[35m (0.9ms)[0m rollback transaction
|
265
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
266
|
-
---------------------------------------------------------------
|
267
|
-
DummiesControllerTest: test_Predefined_errors_should_be_handled
|
268
|
-
---------------------------------------------------------------
|
269
|
-
Processing by DummiesController#show as HTML
|
472
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
473
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
273
|
-
Processing by
|
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.
|
277
|
-
Processing by
|
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
|
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
|
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
|
-
[1m[35m (0.1ms)[0m
|
290
|
-
[1m[
|
497
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
498
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
291
499
|
------------------------------------------------
|
292
|
-
|
500
|
+
TestsControllerTest: test_render_multiple_errors
|
293
501
|
------------------------------------------------
|
294
|
-
|
295
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
306
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
314
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m
|
321
|
-
[1m[
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
504
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
505
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
506
|
+
----------------------------------------------------------------------------------------
|
507
|
+
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
508
|
+
----------------------------------------------------------------------------------------
|
509
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
510
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
516
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
517
|
+
-----------------------------------------------------------------------
|
518
|
+
RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
519
|
+
-----------------------------------------------------------------------
|
520
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
521
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
523
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
524
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
525
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
331
526
|
------------------------------------------------
|
332
|
-
|
527
|
+
TestsControllerTest: test_render_multiple_errors
|
333
528
|
------------------------------------------------
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
529
|
+
Processing by TestsController#index as HTML
|
530
|
+
Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
531
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
532
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
533
|
+
----------------------------------------------------------------
|
534
|
+
TestsControllerTest: test_find_object_will_find_object_if_exists
|
535
|
+
----------------------------------------------------------------
|
536
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
537
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "4cb95fd8-a8ef-11e6-b36d-9801a78f6ec1"], ["LIMIT", 1]]
|
543
|
+
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
544
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
545
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
342
|
-
Processing by
|
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.
|
345
|
-
[1m[
|
346
|
-
[1m[35m (0.0ms)[0m
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
Processing by
|
556
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
557
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
558
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
566
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
577
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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.
|
354
|
-
Processing by
|
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
|
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
|
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
|
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
|
-
[1m[
|
371
|
-
[1m[35m (0.0ms)[0m
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
Processing by
|
376
|
-
|
377
|
-
|
378
|
-
[1m[35m (0.0ms)[0m
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
[1m[
|
384
|
-
[1m[
|
385
|
-
[1m[35m (0.
|
386
|
-
[1m[
|
387
|
-
[1m[35m (0.1ms)[0m
|
388
|
-
|
389
|
-
RepiaTest:
|
390
|
-
|
391
|
-
[1m[
|
392
|
-
[1m[
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
601
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
602
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
610
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
611
|
+
-----------------------------------------------------------------------
|
612
|
+
RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
613
|
+
-----------------------------------------------------------------------
|
614
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
615
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
617
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
618
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
619
|
+
----------------------------------------------------------------------------------------
|
620
|
+
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
621
|
+
----------------------------------------------------------------------------------------
|
622
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
623
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
629
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
630
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
636
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
637
|
+
----------------------------------------------------------------------------------------
|
638
|
+
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
639
|
+
----------------------------------------------------------------------------------------
|
640
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
641
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
642
|
+
----------------------------------------------------------------
|
643
|
+
TestsControllerTest: test_find_object_will_find_object_if_exists
|
644
|
+
----------------------------------------------------------------
|
645
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
646
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "3978a608-a8f0-11e6-a658-9801a78f6ec1"], ["LIMIT", 1]]
|
652
|
+
Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
653
|
+
[1m[35m (2.0ms)[0m [1m[31mrollback transaction[0m
|
654
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
662
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
669
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
411
|
-
Processing by
|
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
|
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
|
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.
|
423
|
-
Processing by
|
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
|
-
[1m[35m (0.
|
428
|
-
[1m[
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
693
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
694
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
440
|
-
|
705
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
706
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
707
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
718
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
726
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
727
|
+
-----------------------------------------------------------------------
|
728
|
+
RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
729
|
+
-----------------------------------------------------------------------
|
730
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
731
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
733
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
734
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
735
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
736
|
+
-----------------------------------------------------------------------
|
737
|
+
RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
738
|
+
-----------------------------------------------------------------------
|
739
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
740
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
742
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
743
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
744
|
+
----------------------------------------------------------------------------------------
|
745
|
+
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
746
|
+
----------------------------------------------------------------------------------------
|
747
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
748
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
754
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.
|
444
|
-
[1m[
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
Processing by
|
449
|
-
Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
450
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
451
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
452
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
477
|
-
[1m[35m (0.0ms)[0m begin transaction
|
478
|
-
------------------------------------------------
|
479
|
-
DummiesControllerTest: test_handle_routing_error
|
480
|
-
------------------------------------------------
|
481
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
482
|
-
[1m[35m (0.0ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
489
|
-
[1m[35m (0.0ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
497
|
-
[1m[35m (0.0ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
508
|
-
[1m[35m (0.0ms)[0m begin transaction
|
509
|
-
------------------------------------------------------------
|
510
|
-
RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
511
|
-
------------------------------------------------------------
|
512
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
513
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
515
|
-
[1m[35m (1.0ms)[0m rollback transaction
|
516
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
517
|
-
[1m[35m (0.1ms)[0m begin transaction
|
518
|
-
------------------------------------------------------------
|
519
|
-
RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
520
|
-
------------------------------------------------------------
|
521
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
522
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
524
|
-
[1m[35m (1.7ms)[0m rollback transaction
|
525
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
533
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
534
|
-
------------------------------------------------
|
535
|
-
DummiesControllerTest: test_handle_routing_error
|
536
|
-
------------------------------------------------
|
537
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
538
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
545
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
570
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
581
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
582
|
-
[1m[35m (0.1ms)[0m begin transaction
|
583
|
-
------------------------------------------------------------
|
584
|
-
RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
585
|
-
------------------------------------------------------------
|
586
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
587
|
-
[1m[35mSQL (0.8ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
589
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
590
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
615
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
623
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
634
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
641
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
642
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
667
|
-
[1m[35m (0.0ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
674
|
-
[1m[35m (0.0ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
685
|
-
[1m[35m (0.0ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
693
|
-
[1m[35m (0.0ms)[0m begin transaction
|
694
|
-
------------------------------------------------------------
|
695
|
-
RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
696
|
-
------------------------------------------------------------
|
697
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
698
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
700
|
-
[1m[35m (1.1ms)[0m rollback transaction
|
701
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
702
|
-
[1m[35m (0.1ms)[0m begin transaction
|
703
|
-
------------------------------------------------------------
|
704
|
-
RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
705
|
-
------------------------------------------------------------
|
706
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
707
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
709
|
-
[1m[35m (1.1ms)[0m rollback transaction
|
710
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
717
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
725
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
726
|
-
------------------------------------------------
|
727
|
-
DummiesControllerTest: test_handle_routing_error
|
728
|
-
------------------------------------------------
|
729
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
730
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
741
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
766
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
767
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
774
|
-
[1m[35m (0.0ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
785
|
-
[1m[35m (0.0ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
810
|
-
[1m[35m (0.0ms)[0m begin transaction
|
811
|
-
------------------------------------------------
|
812
|
-
DummiesControllerTest: test_handle_routing_error
|
813
|
-
------------------------------------------------
|
814
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
815
|
-
[1m[35m (0.0ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
823
|
-
[1m[35m (0.0ms)[0m begin transaction
|
824
|
-
------------------------------------------------------------
|
825
|
-
RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
826
|
-
------------------------------------------------------------
|
827
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
828
|
-
[1m[35mSQL (0.8ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
830
|
-
[1m[35m (0.9ms)[0m rollback transaction
|
831
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
832
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
857
|
-
[1m[35m (0.0ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
868
|
-
[1m[35m (0.0ms)[0m begin transaction
|
869
|
-
------------------------------------------------
|
870
|
-
DummiesControllerTest: test_handle_routing_error
|
871
|
-
------------------------------------------------
|
872
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
873
|
-
[1m[35m (0.0ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
881
|
-
[1m[35m (0.0ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
888
|
-
[1m[35m (0.0ms)[0m begin transaction
|
889
|
-
------------------------------------------------------------
|
890
|
-
RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
891
|
-
------------------------------------------------------------
|
892
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
893
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
895
|
-
[1m[35m (1.1ms)[0m rollback transaction
|
896
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
897
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
922
|
-
[1m[35m (0.0ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
930
|
-
[1m[35m (0.0ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
937
|
-
[1m[35m (0.0ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
948
|
-
[1m[35m (0.0ms)[0m begin transaction
|
949
|
-
------------------------------------------------------------
|
950
|
-
RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
951
|
-
------------------------------------------------------------
|
952
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
953
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
955
|
-
[1m[35m (1.2ms)[0m rollback transaction
|
956
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
957
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
982
|
-
[1m[35m (0.0ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
989
|
-
[1m[35m (0.0ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
997
|
-
[1m[35m (0.0ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1008
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1009
|
-
------------------------------------------------------------
|
1010
|
-
RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
1011
|
-
------------------------------------------------------------
|
1012
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1013
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1015
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
1016
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1017
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1018
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1019
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1020
|
-
------------------------------------------------------------
|
1021
|
-
RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
1022
|
-
------------------------------------------------------------
|
1023
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1024
|
-
[1m[35mSQL (0.7ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1026
|
-
[1m[35m (0.7ms)[0m rollback transaction
|
1027
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
1038
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1063
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1071
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1078
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1079
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1087
|
-
[1m[35m (0.0ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1094
|
-
[1m[35m (0.0ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1119
|
-
[1m[35m (0.0ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1130
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1131
|
-
------------------------------------------------------------
|
1132
|
-
RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
1133
|
-
------------------------------------------------------------
|
1134
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1135
|
-
[1m[35mSQL (0.8ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1137
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
1138
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1139
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1145
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1146
|
-
------------------------------------------------------------
|
1147
|
-
RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
1148
|
-
------------------------------------------------------------
|
1149
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1150
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1152
|
-
[1m[35m (0.8ms)[0m rollback transaction
|
1153
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
1164
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1172
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1197
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
1204
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1205
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1230
|
-
[1m[35m (0.0ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1237
|
-
[1m[35m (0.0ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1248
|
-
[1m[35m (0.0ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1256
|
-
[1m[35m (0.0ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1262
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1263
|
-
------------------------------------------------------------
|
1264
|
-
RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
1265
|
-
------------------------------------------------------------
|
1266
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1267
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1269
|
-
[1m[35m (0.9ms)[0m rollback transaction
|
1270
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1271
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1282
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1290
|
-
[1m[35m (0.0ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1315
|
-
[1m[35m (0.0ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1322
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1323
|
-
----------------------------------------------------------------------------------------
|
1324
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
1325
|
-
----------------------------------------------------------------------------------------
|
1326
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1327
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1328
|
-
------------------------------------------------------------
|
1329
|
-
RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
1330
|
-
------------------------------------------------------------
|
1331
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1332
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1334
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
1335
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1341
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1342
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1349
|
-
[1m[35m (0.0ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1357
|
-
[1m[35m (0.0ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1368
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1393
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1399
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1400
|
-
----------------------------------------------------------------------------------------
|
1401
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
1402
|
-
----------------------------------------------------------------------------------------
|
1403
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1404
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1405
|
-
------------------------------------------------------------
|
1406
|
-
RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
1407
|
-
------------------------------------------------------------
|
1408
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1409
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1411
|
-
[1m[35m (0.8ms)[0m rollback transaction
|
1412
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1413
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1421
|
-
[1m[35m (0.0ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1446
|
-
[1m[35m (0.0ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1453
|
-
[1m[35m (0.0ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1464
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1465
|
-
------------------------------------------------------------
|
1466
|
-
RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
1467
|
-
------------------------------------------------------------
|
1468
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1469
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1471
|
-
[1m[35m (1.1ms)[0m rollback transaction
|
1472
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1478
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1479
|
-
----------------------------------------------------------------------------------------
|
1480
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
1481
|
-
----------------------------------------------------------------------------------------
|
1482
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1483
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1484
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1490
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1491
|
-
------------------------------------------------------------
|
1492
|
-
RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
1493
|
-
------------------------------------------------------------
|
1494
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1495
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1497
|
-
[1m[35m (0.9ms)[0m rollback transaction
|
1498
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1499
|
-
----------------------------------------------------------------------------------------
|
1500
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
1501
|
-
----------------------------------------------------------------------------------------
|
1502
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1503
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
1528
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
1536
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1537
|
-
---------------------------------------------------------------------------
|
1538
|
-
DummiesControllerTest: test_find_object_will_error_if_object_does_not_exist
|
1539
|
-
---------------------------------------------------------------------------
|
1540
|
-
Processing by DummiesController#update as HTML
|
766
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
767
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
768
|
+
----------------------------------------
|
769
|
+
TestsControllerTest: test_exceptions_app
|
770
|
+
----------------------------------------
|
771
|
+
Processing by TestsController#show as HTML
|
1541
772
|
Parameters: {"id"=>"blah"}
|
1542
|
-
|
1543
|
-
[1m[
|
1544
|
-
|
1545
|
-
|
1546
|
-
|
1547
|
-
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
775
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[
|
1554
|
-
[1m[35m (0.
|
1555
|
-
|
1556
|
-
|
1557
|
-
|
1558
|
-
Processing by
|
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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1565
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1566
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1572
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1573
|
-
----------------------------------------------------------------------------------------
|
1574
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
1575
|
-
----------------------------------------------------------------------------------------
|
1576
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1577
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1578
|
-
------------------------------------------------------------
|
1579
|
-
RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
1580
|
-
------------------------------------------------------------
|
1581
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1582
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1584
|
-
[1m[35m (1.1ms)[0m rollback transaction
|
1585
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1586
|
-
---------------------------------------------------------------
|
1587
|
-
DummiesControllerTest: test_Predefined_errors_should_be_handled
|
1588
|
-
---------------------------------------------------------------
|
1589
|
-
Processing by DummiesController#show as HTML
|
781
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
782
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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.
|
1593
|
-
Processing by
|
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
|
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
|
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.
|
1605
|
-
Processing by
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
807
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m
|
1610
|
-
[1m[
|
1611
|
-
|
1612
|
-
|
1613
|
-
|
1614
|
-
|
1615
|
-
|
1616
|
-
|
1617
|
-
Processing by
|
1618
|
-
|
1619
|
-
|
1620
|
-
[1m[
|
1621
|
-
|
1622
|
-
|
1623
|
-
|
1624
|
-
|
1625
|
-
|
1626
|
-
|
1627
|
-
|
1628
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1629
|
-
---------------------------------------------------------------------------
|
1630
|
-
DummiesControllerTest: test_find_object_will_error_if_object_does_not_exist
|
1631
|
-
---------------------------------------------------------------------------
|
1632
|
-
Processing by DummiesController#update as HTML
|
814
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
815
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
816
|
+
----------------------------------------------------------------
|
817
|
+
TestsControllerTest: test_find_object_will_find_object_if_exists
|
818
|
+
----------------------------------------------------------------
|
819
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
820
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "403094ba-a8f0-11e6-a826-9801a78f6ec1"], ["LIMIT", 1]]
|
826
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
827
|
+
[1m[35m (2.1ms)[0m [1m[31mrollback transaction[0m
|
828
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[
|
835
|
+
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "blah"], ["LIMIT", 1]]
|
1636
836
|
404 - UniqueModel blah cannot be found
|
1637
|
-
Completed 404 Not Found in
|
1638
|
-
[1m[
|
1639
|
-
[1m[
|
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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1647
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1648
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1649
|
-
------------------------------------------------------------
|
1650
|
-
RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
1651
|
-
------------------------------------------------------------
|
1652
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1653
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1655
|
-
[1m[35m (0.8ms)[0m rollback transaction
|
1656
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
837
|
+
Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
838
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
839
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
840
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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:
|
1661
|
-
[1m[35m (0.
|
1662
|
-
[1m[
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
846
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1663
847
|
----------------------------------------------------------------------------------------
|
1664
848
|
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
1665
849
|
----------------------------------------------------------------------------------------
|
1666
|
-
[1m[35m (0.0ms)[0m
|
1667
|
-
[1m[
|
1668
|
-
|
1669
|
-
|
1670
|
-
|
1671
|
-
Processing by
|
850
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
851
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
858
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[
|
865
|
+
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "blah"], ["LIMIT", 1]]
|
1675
866
|
404 - UniqueModel blah cannot be found
|
1676
|
-
Completed 404 Not Found in
|
1677
|
-
[1m[
|
1678
|
-
[1m[35m (0.0ms)[0m
|
1679
|
-
|
1680
|
-
|
1681
|
-
|
1682
|
-
Processing by
|
1683
|
-
|
1684
|
-
|
1685
|
-
Completed
|
1686
|
-
Processing by
|
1687
|
-
|
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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1703
|
-
[1m[35m (0.0ms)[0m 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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
869
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[
|
1714
|
-
[1m[35m (0.1ms)[0m
|
1715
|
-
|
1716
|
-
|
1717
|
-
|
1718
|
-
Processing by
|
1719
|
-
String can't be coerced into Fixnum
|
1720
|
-
Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1721
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1722
|
-
[1m[35m (0.0ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1729
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1730
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1731
|
-
----------------------------------------------------------------------------------------
|
1732
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
1733
|
-
----------------------------------------------------------------------------------------
|
1734
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1735
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1736
|
-
------------------------------------------------------------
|
1737
|
-
RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
1738
|
-
------------------------------------------------------------
|
1739
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1740
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1742
|
-
[1m[35m (1.1ms)[0m rollback transaction
|
1743
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
1749
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1750
|
-
---------------------------------------------------------------
|
1751
|
-
DummiesControllerTest: test_Predefined_errors_should_be_handled
|
1752
|
-
---------------------------------------------------------------
|
1753
|
-
Processing by DummiesController#show as HTML
|
881
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
882
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
1757
|
-
Processing by
|
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
|
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
|
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
|
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
|
-
[1m[35m (0.
|
1774
|
-
[1m[
|
1775
|
-
|
1776
|
-
|
1777
|
-
|
1778
|
-
|
1779
|
-
|
1780
|
-
|
1781
|
-
Processing by
|
1782
|
-
|
1783
|
-
|
1784
|
-
[1m[
|
1785
|
-
|
1786
|
-
|
1787
|
-
|
1788
|
-
|
1789
|
-
|
1790
|
-
|
1791
|
-
|
1792
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1793
|
-
---------------------------------------------------------------------------
|
1794
|
-
DummiesControllerTest: test_find_object_will_error_if_object_does_not_exist
|
1795
|
-
---------------------------------------------------------------------------
|
1796
|
-
Processing by DummiesController#update as HTML
|
906
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
907
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
908
|
+
----------------------------------------------------------------
|
909
|
+
TestsControllerTest: test_find_object_will_find_object_if_exists
|
910
|
+
----------------------------------------------------------------
|
911
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
912
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mUniqueModel Load (0.0ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "55b31cb8-a8f0-11e6-8320-9801a78f6ec1"], ["LIMIT", 1]]
|
918
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
919
|
+
[1m[35m (2.0ms)[0m [1m[31mrollback transaction[0m
|
920
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
921
|
+
----------------------------------------
|
922
|
+
TestsControllerTest: test_exceptions_app
|
923
|
+
----------------------------------------
|
924
|
+
Processing by TestsController#show as HTML
|
1797
925
|
Parameters: {"id"=>"blah"}
|
1798
|
-
|
1799
|
-
[1m[
|
1800
|
-
|
1801
|
-
|
1802
|
-
|
1803
|
-
|
1804
|
-
|
1805
|
-
|
1806
|
-
|
1807
|
-
[1m[
|
1808
|
-
[1m[
|
1809
|
-
|
1810
|
-
|
1811
|
-
|
1812
|
-
|
1813
|
-
[1m[
|
1814
|
-
|
1815
|
-
|
1816
|
-
|
1817
|
-
|
1818
|
-
|
1819
|
-
|
1820
|
-
|
1821
|
-
|
1822
|
-
|
1823
|
-
|
1824
|
-
|
1825
|
-
|
1826
|
-
|
1827
|
-
|
1828
|
-
|
1829
|
-
|
1830
|
-
RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
1831
|
-
------------------------------------------------------------
|
1832
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1833
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1835
|
-
[1m[35m (0.9ms)[0m rollback transaction
|
1836
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
1842
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1843
|
-
----------------------------------------------------------------------------------------
|
1844
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
1845
|
-
----------------------------------------------------------------------------------------
|
1846
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
1847
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
1858
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1859
|
-
------------------------------------------------------------------
|
1860
|
-
DummiesControllerTest: test_find_object_will_find_object_if_exists
|
1861
|
-
------------------------------------------------------------------
|
1862
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1863
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?)[0m [["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
|
-
[1m[35m (0.0ms)[0m 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
|
-
[1m[36mUniqueModel Load (0.1ms)[0m [1mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT 1[0m [["uuid", "c28ec5c0-10cb-11e6-bdfa-6c4008a6fa2a"]]
|
1869
|
-
Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
1870
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
1871
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
1878
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
928
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
936
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
937
|
+
-----------------------------------------------------------------------
|
938
|
+
RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
939
|
+
-----------------------------------------------------------------------
|
940
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
941
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
943
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
944
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
945
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
953
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[
|
960
|
+
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "blah"], ["LIMIT", 1]]
|
1886
961
|
404 - UniqueModel blah cannot be found
|
1887
|
-
Completed 404 Not Found in
|
1888
|
-
[1m[
|
1889
|
-
[1m[35m (0.1ms)[0m
|
1890
|
-
|
1891
|
-
|
1892
|
-
|
1893
|
-
Processing by
|
1894
|
-
|
1895
|
-
|
1896
|
-
|
1897
|
-
|
1898
|
-
|
1899
|
-
|
1900
|
-
|
1901
|
-
|
1902
|
-
|
1903
|
-
|
1904
|
-
|
1905
|
-
|
1906
|
-
|
1907
|
-
|
1908
|
-
|
1909
|
-
|
1910
|
-
|
1911
|
-
|
1912
|
-
|
1913
|
-
|
1914
|
-
[1m[35m (0.0ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1922
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1923
|
-
[1m[35m (0.1ms)[0m 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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
964
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
971
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
972
|
+
----------------------------------------------------------------
|
973
|
+
TestsControllerTest: test_find_object_will_find_object_if_exists
|
974
|
+
----------------------------------------------------------------
|
975
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
976
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "5f4fdc7a-a8f0-11e6-a16d-9801a78f6ec1"], ["LIMIT", 1]]
|
982
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
983
|
+
[1m[35m (2.1ms)[0m [1m[31mrollback transaction[0m
|
984
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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.
|
1931
|
-
Processing by
|
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
|
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
|
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
|
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
|
-
[1m[
|
1948
|
-
[1m[35m (0.
|
1949
|
-
|
1950
|
-
|
1951
|
-
|
1952
|
-
Processing by
|
1953
|
-
|
1954
|
-
|
1955
|
-
|
1956
|
-
|
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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1963
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1964
|
-
------------------------------------------------------------------
|
1965
|
-
DummiesControllerTest: test_find_object_will_find_object_if_exists
|
1966
|
-
------------------------------------------------------------------
|
1967
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1968
|
-
[1m[35mSQL (0.5ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
-
[1m[35mUniqueModel Load (0.1ms)[0m 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
|
-
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
1976
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36mUniqueModel Load (0.1ms)[0m [1mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT 1[0m [["uuid", "blah"]]
|
1984
|
-
404 - UniqueModel blah cannot be found
|
1985
|
-
Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1986
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
1987
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1009
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m
|
1998
|
-
[1m[
|
1999
|
-
|
2000
|
-
|
2001
|
-
|
2002
|
-
|
2003
|
-
|
2004
|
-
|
2005
|
-
[1m[
|
2006
|
-
[1m[35m (0.
|
2007
|
-
|
2008
|
-
|
2009
|
-
|
2010
|
-
|
2011
|
-
[1m[
|
2012
|
-
[1m[35m (0.0ms)[0m
|
2013
|
-
|
2014
|
-
|
2015
|
-
----------------------------------------------------------------------------------------
|
2016
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2017
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2018
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1021
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1022
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1030
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1031
|
+
-----------------------------------------------------------------------
|
1032
|
+
RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
1033
|
+
-----------------------------------------------------------------------
|
1034
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1035
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1037
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
1038
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2019
1039
|
----------------------------------------------------------------------------------------
|
2020
1040
|
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
2021
1041
|
----------------------------------------------------------------------------------------
|
2022
|
-
[1m[
|
2023
|
-
[1m[35m (0.
|
2024
|
-
------------------------------------------------------------
|
2025
|
-
RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
2026
|
-
------------------------------------------------------------
|
2027
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2028
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2030
|
-
[1m[35m (1.1ms)[0m rollback transaction
|
2031
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2032
|
-
---------------------------------------------------
|
2033
|
-
RepiaTest: test_Invalid_route_has_401_json_response
|
2034
|
-
---------------------------------------------------
|
2035
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
2036
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1042
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1043
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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:
|
2041
|
-
[1m[35m (0.
|
2042
|
-
[1m[
|
2043
|
-
|
2044
|
-
|
2045
|
-
|
2046
|
-
|
2047
|
-
|
2048
|
-
|
2049
|
-
[1m[35m (0.
|
2050
|
-
[1m[
|
2051
|
-
|
2052
|
-
|
2053
|
-
|
2054
|
-
|
2055
|
-
|
2056
|
-
|
2057
|
-
|
2058
|
-
|
2059
|
-
|
2060
|
-
|
2061
|
-
|
2062
|
-
|
2063
|
-
|
2064
|
-
|
2065
|
-
|
2066
|
-
|
2067
|
-
|
2068
|
-
|
2069
|
-
|
2070
|
-
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1049
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1050
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1051
|
+
-----------------------------------------------------------------------
|
1052
|
+
RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
1053
|
+
-----------------------------------------------------------------------
|
1054
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1055
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1057
|
+
[1m[35m (2.2ms)[0m [1m[31mrollback transaction[0m
|
1058
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1066
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1074
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m
|
2074
|
-
[1m[
|
2075
|
-
|
2076
|
-
|
2077
|
-
|
2078
|
-
Processing by
|
2079
|
-
|
2080
|
-
|
2081
|
-
[1m[
|
2082
|
-
|
2083
|
-
|
2084
|
-
|
2085
|
-
|
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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2092
|
-
[1m[35m (0.0ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2117
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2118
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2119
|
-
---------------------------------------------------------------
|
2120
|
-
DummiesControllerTest: test_Predefined_errors_should_be_handled
|
2121
|
-
---------------------------------------------------------------
|
2122
|
-
Processing by DummiesController#show as HTML
|
1086
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1087
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1094
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
2126
|
-
Processing by
|
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.
|
2130
|
-
Processing by
|
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
|
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
|
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
|
-
[1m[
|
2143
|
-
[1m[35m (0.
|
2144
|
-
|
2145
|
-
|
2146
|
-
|
2147
|
-
Processing by
|
2148
|
-
String can't be coerced into Fixnum
|
2149
|
-
Completed 500 Internal Server Error in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
2150
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2151
|
-
[1m[35m (0.0ms)[0m begin transaction
|
2152
|
-
------------------------------------------------------------------
|
2153
|
-
DummiesControllerTest: test_find_object_will_find_object_if_exists
|
2154
|
-
------------------------------------------------------------------
|
2155
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2156
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
-
[1m[35mUniqueModel Load (0.1ms)[0m 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
|
-
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
2164
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2175
|
-
[1m[35m (0.0ms)[0m begin transaction
|
2176
|
-
---------------------------------------------------------------------------
|
2177
|
-
DummiesControllerTest: test_find_object_will_error_if_object_does_not_exist
|
2178
|
-
---------------------------------------------------------------------------
|
2179
|
-
Processing by DummiesController#update as HTML
|
1118
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1119
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[36mUniqueModel Load (0.
|
1126
|
+
[1m[36mUniqueModel Load (0.2ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "blah"], ["LIMIT", 1]]
|
2183
1127
|
404 - UniqueModel blah cannot be found
|
2184
|
-
Completed 404 Not Found in
|
2185
|
-
[1m[35m (0.
|
2186
|
-
[1m[
|
2187
|
-
|
2188
|
-
|
2189
|
-
|
2190
|
-
|
2191
|
-
|
2192
|
-
[1m[35m (0.0ms)[0m
|
2193
|
-
|
1128
|
+
Completed 404 Not Found in 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
1129
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1130
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1131
|
+
----------------------------------------------------------------
|
1132
|
+
TestsControllerTest: test_find_object_will_find_object_if_exists
|
1133
|
+
----------------------------------------------------------------
|
1134
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1135
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mUniqueModel Load (0.0ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "6b431cea-a8f0-11e6-adac-9801a78f6ec1"], ["LIMIT", 1]]
|
1141
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1142
|
+
[1m[35m (2.2ms)[0m [1m[31mrollback transaction[0m
|
1143
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1144
|
+
----------------------------------------------------------------------------------------
|
1145
|
+
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
1146
|
+
----------------------------------------------------------------------------------------
|
1147
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1148
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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:
|
2198
|
-
[1m[35m (0.
|
2199
|
-
[1m[
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1154
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1155
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1156
|
+
-----------------------------------------------------------------------
|
1157
|
+
RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
1158
|
+
-----------------------------------------------------------------------
|
1159
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1160
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1162
|
+
[1m[35m (2.2ms)[0m [1m[31mrollback transaction[0m
|
1163
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1169
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2200
1170
|
----------------------------------------------------------------------------------------
|
2201
1171
|
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
2202
1172
|
----------------------------------------------------------------------------------------
|
2203
|
-
[1m[35m (0.
|
2204
|
-
[1m[
|
2205
|
-
|
2206
|
-
|
2207
|
-
|
2208
|
-
|
2209
|
-
|
2210
|
-
|
2211
|
-
|
2212
|
-
|
2213
|
-
|
2214
|
-
|
2215
|
-
|
2216
|
-
|
2217
|
-
|
2218
|
-
|
2219
|
-
|
2220
|
-
|
2221
|
-
|
2222
|
-
|
1173
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1174
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1182
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[36mUniqueModel Load (0.2ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1193
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1194
|
+
----------------------------------------------------------------
|
1195
|
+
TestsControllerTest: test_find_object_will_find_object_if_exists
|
1196
|
+
----------------------------------------------------------------
|
1197
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1198
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mUniqueModel Load (0.0ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "75dd4e46-a8f0-11e6-a569-9801a78f6ec1"], ["LIMIT", 1]]
|
1204
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
1205
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
1206
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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.
|
2226
|
-
Processing by
|
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
|
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
|
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
|
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
|
-
[1m[
|
2243
|
-
[1m[35m (0.
|
2244
|
-
|
2245
|
-
|
2246
|
-
|
2247
|
-
Processing by
|
2248
|
-
|
2249
|
-
Attempting to get UniqueModel blah
|
2250
|
-
[1m[36mUniqueModel Load (0.1ms)[0m [1mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT 1[0m [["uuid", "blah"]]
|
2251
|
-
404 - UniqueModel blah cannot be found
|
2252
|
-
Completed 404 Not Found in 6ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
2253
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2254
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2255
|
-
------------------------------------------------------------------
|
2256
|
-
DummiesControllerTest: test_find_object_will_find_object_if_exists
|
2257
|
-
------------------------------------------------------------------
|
2258
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2259
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?)[0m [["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
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36mUniqueModel Load (0.1ms)[0m [1mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT 1[0m [["uuid", "343059c8-10cc-11e6-a1e1-6c4008a6fa2a"]]
|
2265
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
2266
|
-
[1m[35m (0.8ms)[0m rollback transaction
|
2267
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2268
|
-
------------------------------------------------------
|
2269
|
-
DummiesControllerTest: test_options_request_is_handled
|
2270
|
-
------------------------------------------------------
|
2271
|
-
Processing by DummiesController#options as HTML
|
1230
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1231
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
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
|
2274
|
-
Processing by
|
2275
|
-
|
2276
|
-
|
2277
|
-
|
2278
|
-
[1m[
|
2279
|
-
|
2280
|
-
|
2281
|
-
|
2282
|
-
|
2283
|
-
|
2284
|
-
|
2285
|
-
|
2286
|
-
[1m[
|
2287
|
-
|
2288
|
-
|
2289
|
-
|
2290
|
-
|
2291
|
-
|
2292
|
-
|
2293
|
-
[1m[
|
2294
|
-
|
2295
|
-
|
2296
|
-
------------------------------------------------------------
|
2297
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2298
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?)[0m [["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
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2300
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2301
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2307
|
-
[1m[35m (0.0ms)[0m begin transaction
|
2308
|
-
---------------------------------------------------
|
2309
|
-
RepiaTest: test_Invalid_route_has_401_json_response
|
2310
|
-
---------------------------------------------------
|
2311
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2312
|
-
[1m[35m (0.0ms)[0m 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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1244
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1252
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1259
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1260
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2313
1261
|
----------------------------------------------------------------------------------------
|
2314
1262
|
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
2315
1263
|
----------------------------------------------------------------------------------------
|
2316
|
-
[1m[
|
2317
|
-
[1m[
|
2318
|
-
|
2319
|
-
|
2320
|
-
|
2321
|
-
|
2322
|
-
|
2323
|
-
[1m[
|
2324
|
-
|
2325
|
-
|
2326
|
-
|
2327
|
-
|
2328
|
-
Processing by DummiesController#index as HTML
|
2329
|
-
Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
2330
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2331
|
-
[1m[35m (0.0ms)[0m begin transaction
|
2332
|
-
------------------------------------------------------------------
|
2333
|
-
DummiesControllerTest: test_find_object_will_find_object_if_exists
|
2334
|
-
------------------------------------------------------------------
|
2335
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2336
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
-
[1m[35mUniqueModel Load (0.1ms)[0m 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
|
-
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
2344
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2345
|
-
---------------------------------------------------------------------------
|
2346
|
-
DummiesControllerTest: test_find_object_will_error_if_object_does_not_exist
|
2347
|
-
---------------------------------------------------------------------------
|
2348
|
-
Processing by DummiesController#update as HTML
|
1264
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1265
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1271
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[36mUniqueModel Load (0.
|
1278
|
+
[1m[36mUniqueModel Load (0.3ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "blah"], ["LIMIT", 1]]
|
2352
1279
|
404 - UniqueModel blah cannot be found
|
2353
|
-
Completed 404 Not Found in
|
2354
|
-
[1m[35m (0.
|
2355
|
-
[1m[
|
2356
|
-
|
2357
|
-
|
2358
|
-
|
2359
|
-
Processing by
|
2360
|
-
|
2361
|
-
Completed
|
2362
|
-
|
1280
|
+
Completed 404 Not Found in 7ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
1281
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1282
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1290
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
2365
|
-
|
2366
|
-
|
2367
|
-
|
2368
|
-
|
2369
|
-
|
2370
|
-
|
2371
|
-
|
2372
|
-
|
2373
|
-
|
2374
|
-
|
2375
|
-
|
2376
|
-
|
2377
|
-
|
2378
|
-
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1303
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1311
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1312
|
+
----------------------------------------------------------------
|
1313
|
+
TestsControllerTest: test_find_object_will_find_object_if_exists
|
1314
|
+
----------------------------------------------------------------
|
1315
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1316
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mUniqueModel Load (0.0ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "cf10b15a-ae05-11e6-bfcc-9801a78f6ec1"], ["LIMIT", 1]]
|
1322
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1323
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
1324
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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.
|
2382
|
-
Processing by
|
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.
|
2386
|
-
Processing by
|
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
|
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
|
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
|
-
[1m[35m (0.
|
2399
|
-
[1m[
|
2400
|
-
|
2401
|
-
|
2402
|
-
|
2403
|
-
|
2404
|
-
|
2405
|
-
[1m[35m (0.0ms)[0m
|
2406
|
-
[1m[
|
2407
|
-
|
2408
|
-
|
2409
|
-
|
2410
|
-
|
2411
|
-
|
2412
|
-
[1m[
|
2413
|
-
[1m[35m (0.
|
1348
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1349
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1356
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1357
|
+
-----------------------------------------------------------------------
|
1358
|
+
RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
1359
|
+
-----------------------------------------------------------------------
|
1360
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1361
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1363
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
1364
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1365
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2414
1366
|
----------------------------------------------------------------------------------------
|
2415
1367
|
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
2416
1368
|
----------------------------------------------------------------------------------------
|
2417
|
-
[1m[
|
2418
|
-
[1m[
|
2419
|
-
|
2420
|
-
|
2421
|
-
|
2422
|
-
|
2423
|
-
|
1369
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1370
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1376
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1377
|
+
-----------------------------------------------------------------------
|
1378
|
+
RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
1379
|
+
-----------------------------------------------------------------------
|
1380
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1381
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1383
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
1384
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1385
|
+
----------------------------------------------------------------
|
1386
|
+
TestsControllerTest: test_find_object_will_find_object_if_exists
|
1387
|
+
----------------------------------------------------------------
|
1388
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1389
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "e6bcdc00-ae70-11e6-8dbb-9801a78f6ec1"], ["LIMIT", 1]]
|
1395
|
+
Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1396
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
1397
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1422
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1435
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1442
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1450
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[36mUniqueModel Load (0.
|
1457
|
+
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "blah"], ["LIMIT", 1]]
|
2427
1458
|
404 - UniqueModel blah cannot be found
|
2428
|
-
Completed 404 Not Found in
|
2429
|
-
[1m[35m (0.
|
2430
|
-
[1m[
|
2431
|
-
|
2432
|
-
|
2433
|
-
|
2434
|
-
|
2435
|
-
|
2436
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36mUniqueModel Load (0.0ms)[0m [1mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT 1[0m [["uuid", "a68f3860-10cf-11e6-aa48-6c4008a6fa2a"]]
|
2441
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
2442
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
2443
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1461
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m
|
2451
|
-
[1m[
|
2452
|
-
|
2453
|
-
|
2454
|
-
|
2455
|
-
|
2456
|
-
|
2457
|
-
|
2458
|
-
|
1468
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1469
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1470
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1471
|
+
----------------------------------------------------------------
|
1472
|
+
TestsControllerTest: test_find_object_will_find_object_if_exists
|
1473
|
+
----------------------------------------------------------------
|
1474
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1475
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "6f8fae8a-ae72-11e6-81f2-9801a78f6ec1"], ["LIMIT", 1]]
|
1481
|
+
Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
1482
|
+
[1m[35m (2.0ms)[0m [1m[31mrollback transaction[0m
|
1483
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.
|
2462
|
-
[1m[
|
2463
|
-
|
2464
|
-
|
2465
|
-
|
2466
|
-
Processing by
|
1495
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1496
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1503
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1504
|
+
----------------------------------------
|
1505
|
+
TestsControllerTest: test_exceptions_app
|
1506
|
+
----------------------------------------
|
1507
|
+
Processing by TestsController#show as HTML
|
2467
1508
|
Parameters: {"id"=>"blah"}
|
2468
|
-
|
2469
|
-
|
2470
|
-
[1m[35m (0.
|
2471
|
-
|
2472
|
-
|
2473
|
-
|
2474
|
-
|
2475
|
-
|
2476
|
-
|
2477
|
-
[1m[
|
2478
|
-
|
2479
|
-
|
2480
|
-
|
2481
|
-
|
2482
|
-
|
1509
|
+
Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1510
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1511
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1522
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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.
|
2486
|
-
Processing by
|
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.
|
2490
|
-
Processing by
|
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
|
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
|
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
|
-
[1m[35m (0.
|
2503
|
-
[1m[
|
1546
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1547
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1555
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1556
|
+
-----------------------------------------------------------------------
|
1557
|
+
RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
1558
|
+
-----------------------------------------------------------------------
|
1559
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1560
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1562
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
1563
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2504
1564
|
----------------------------------------------------------------------------------------
|
2505
1565
|
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
2506
1566
|
----------------------------------------------------------------------------------------
|
2507
|
-
[1m[35m (0.0ms)[0m
|
2508
|
-
[1m[
|
1567
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1568
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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:
|
2513
|
-
[1m[35m (0.0ms)[0m
|
2514
|
-
[1m[
|
2515
|
-
|
2516
|
-
|
2517
|
-
|
2518
|
-
|
2519
|
-
[1m[
|
2520
|
-
[1m[
|
2521
|
-
[1m[
|
2522
|
-
[1m[
|
2523
|
-
[1m[35m (0.1ms)[0m
|
2524
|
-
|
2525
|
-
|
2526
|
-
|
2527
|
-
Processing by
|
2528
|
-
|
2529
|
-
Completed
|
2530
|
-
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1574
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1575
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1576
|
+
-----------------------------------------------------------------------
|
1577
|
+
RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
1578
|
+
-----------------------------------------------------------------------
|
1579
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1580
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1582
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
1583
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1591
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[
|
2534
|
-
[1m[35m (0.0ms)[0m
|
2535
|
-
|
2536
|
-
|
2537
|
-
|
2538
|
-
|
2539
|
-
|
2540
|
-
|
2541
|
-
|
2542
|
-
|
2543
|
-
|
2544
|
-
|
2545
|
-
|
2546
|
-
|
1603
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1604
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1605
|
+
----------------------------------------------------------------
|
1606
|
+
TestsControllerTest: test_find_object_will_find_object_if_exists
|
1607
|
+
----------------------------------------------------------------
|
1608
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1609
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "2a0e6354-ae74-11e6-b644-9801a78f6ec1"], ["LIMIT", 1]]
|
1615
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
1616
|
+
[1m[35m (6.8ms)[0m [1m[31mrollback transaction[0m
|
1617
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1625
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1632
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1643
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
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
|
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
|
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
|
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
|
-
[1m[
|
2567
|
-
[1m[35m (0.0ms)[0m
|
2568
|
-
|
2569
|
-
|
2570
|
-
|
2571
|
-
|
2572
|
-
|
2573
|
-
Attempting to get UniqueModel blah
|
2574
|
-
[1m[36mUniqueModel Load (0.1ms)[0m [1mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT 1[0m [["uuid", "blah"]]
|
2575
|
-
404 - UniqueModel blah cannot be found
|
2576
|
-
Completed 404 Not Found in 6ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
2577
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
2578
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2586
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2587
|
-
------------------------------------------------------------------
|
2588
|
-
DummiesControllerTest: test_find_object_will_find_object_if_exists
|
2589
|
-
------------------------------------------------------------------
|
2590
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2591
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?)[0m [["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
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36mUniqueModel Load (0.1ms)[0m [1mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT 1[0m [["uuid", "e9d64618-10cf-11e6-8840-6c4008a6fa2a"]]
|
2597
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
2598
|
-
[1m[35m (0.9ms)[0m rollback transaction
|
2599
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
2606
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1667
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1668
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1669
|
+
----------------------------------------------------------------------------------------
|
1670
|
+
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
1671
|
+
----------------------------------------------------------------------------------------
|
1672
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1673
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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:
|
2611
|
-
[1m[35m (0.0ms)[0m
|
2612
|
-
[1m[
|
2613
|
-
|
2614
|
-
|
2615
|
-
|
2616
|
-
|
2617
|
-
|
2618
|
-
[1m[35m (0.
|
2619
|
-
[1m[
|
2620
|
-
[1m[35m (0.1ms)[0m 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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1679
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1680
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1686
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2621
1687
|
----------------------------------------------------------------------------------------
|
2622
1688
|
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
2623
1689
|
----------------------------------------------------------------------------------------
|
2624
|
-
[1m[
|
2625
|
-
[1m[
|
2626
|
-
|
2627
|
-
|
2628
|
-
|
2629
|
-
|
2630
|
-
[1m[
|
2631
|
-
[1m[
|
2632
|
-
[1m[
|
2633
|
-
|
2634
|
-
|
2635
|
-
|
2636
|
-
|
2637
|
-
|
2638
|
-
|
2639
|
-
[1m[35m (0.
|
2640
|
-
|
2641
|
-
|
2642
|
-
|
2643
|
-
|
1690
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1691
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1692
|
+
-----------------------------------------------------------------------
|
1693
|
+
RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
1694
|
+
-----------------------------------------------------------------------
|
1695
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1696
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1698
|
+
[1m[35m (2.0ms)[0m [1m[31mrollback transaction[0m
|
1699
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1706
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1714
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1722
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1723
|
+
----------------------------------------------------------------
|
1724
|
+
TestsControllerTest: test_find_object_will_find_object_if_exists
|
1725
|
+
----------------------------------------------------------------
|
1726
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1727
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "0d308bd4-ae76-11e6-b2bd-9801a78f6ec1"], ["LIMIT", 1]]
|
1733
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
1734
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
1735
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[36mUniqueModel Load (0.1ms)[0m [
|
1742
|
+
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["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
|
-
[1m[35m (0.1ms)[0m
|
2650
|
-
[1m[
|
2651
|
-
|
2652
|
-
|
2653
|
-
|
2654
|
-
Processing by
|
1745
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1746
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1759
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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.
|
2658
|
-
Processing by
|
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
|
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
|
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
|
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
|
-
[1m[35m (0.
|
2675
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
2683
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
2690
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2701
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2709
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2710
|
-
----------------------------------------------------------------------------------------
|
2711
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
2712
|
-
----------------------------------------------------------------------------------------
|
2713
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2714
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
2720
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2721
|
-
------------------------------------------------------------
|
2722
|
-
RepiaTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
2723
|
-
------------------------------------------------------------
|
2724
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2725
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?)[0m [["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
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2727
|
-
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1783
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|