respect-rails 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (110) hide show
  1. data/FAQ.md +98 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +291 -0
  4. data/RELATED_WORK.md +47 -0
  5. data/RELEASE_NOTES.md +20 -0
  6. data/Rakefile +32 -0
  7. data/app/assets/javascripts/respect/rails/schemas.js +32 -0
  8. data/app/assets/stylesheets/respect/rails/schemas.css +160 -0
  9. data/app/controllers/respect/rails/schemas_controller.rb +36 -0
  10. data/app/helpers/respect/rails/schemas_helper.rb +78 -0
  11. data/app/views/layouts/respect/rails/schemas.html.erb +14 -0
  12. data/app/views/respect/rails/request_validation_exception.html.erb +38 -0
  13. data/app/views/respect/rails/schemas/doc.html.erb +158 -0
  14. data/app/views/respect/rails/schemas/index.html.erb +4 -0
  15. data/config/routes.rb +4 -0
  16. data/lib/respect/rails/action_def.rb +37 -0
  17. data/lib/respect/rails/action_schema.rb +41 -0
  18. data/lib/respect/rails/application_info.rb +26 -0
  19. data/lib/respect/rails/controller_helper.rb +107 -0
  20. data/lib/respect/rails/engine.rb +63 -0
  21. data/lib/respect/rails/engine_info.rb +27 -0
  22. data/lib/respect/rails/headers_helper.rb +11 -0
  23. data/lib/respect/rails/headers_simplifier.rb +31 -0
  24. data/lib/respect/rails/info.rb +72 -0
  25. data/lib/respect/rails/request_def.rb +38 -0
  26. data/lib/respect/rails/request_helper.rb +101 -0
  27. data/lib/respect/rails/request_schema.rb +102 -0
  28. data/lib/respect/rails/response_def.rb +43 -0
  29. data/lib/respect/rails/response_helper.rb +67 -0
  30. data/lib/respect/rails/response_schema.rb +84 -0
  31. data/lib/respect/rails/response_schema_set.rb +60 -0
  32. data/lib/respect/rails/route_info.rb +101 -0
  33. data/lib/respect/rails/version.rb +5 -0
  34. data/lib/respect/rails.rb +74 -0
  35. data/lib/tasks/respect_tasks.rake +4 -0
  36. data/test/dummy/README.rdoc +261 -0
  37. data/test/dummy/Rakefile +7 -0
  38. data/test/dummy/app/assets/javascripts/application.js +15 -0
  39. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  40. data/test/dummy/app/controllers/application_controller.rb +3 -0
  41. data/test/dummy/app/controllers/automatic_validation_controller.rb +300 -0
  42. data/test/dummy/app/controllers/caught_exception_controller.rb +58 -0
  43. data/test/dummy/app/controllers/disabled_controller.rb +37 -0
  44. data/test/dummy/app/controllers/manual_validation_controller.rb +63 -0
  45. data/test/dummy/app/controllers/no_schema_controller.rb +17 -0
  46. data/test/dummy/app/controllers/skipped_automatic_validation_controller.rb +35 -0
  47. data/test/dummy/app/helpers/application_helper.rb +2 -0
  48. data/test/dummy/app/helpers/respect/application_macros.rb +10 -0
  49. data/test/dummy/app/helpers/respect/circle_schema.rb +16 -0
  50. data/test/dummy/app/helpers/respect/point_schema.rb +19 -0
  51. data/test/dummy/app/helpers/respect/rgba_schema.rb +18 -0
  52. data/test/dummy/app/views/automatic_validation/request_format.html.erb +1 -0
  53. data/test/dummy/app/views/automatic_validation/request_format.pdf.erb +1 -0
  54. data/test/dummy/app/views/caught_exception/response_validator.html.erb +1 -0
  55. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  56. data/test/dummy/config/application.rb +58 -0
  57. data/test/dummy/config/boot.rb +10 -0
  58. data/test/dummy/config/database.yml +25 -0
  59. data/test/dummy/config/environment.rb +5 -0
  60. data/test/dummy/config/environments/development.rb +37 -0
  61. data/test/dummy/config/environments/production.rb +67 -0
  62. data/test/dummy/config/environments/test.rb +37 -0
  63. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  64. data/test/dummy/config/initializers/inflections.rb +15 -0
  65. data/test/dummy/config/initializers/mime_types.rb +5 -0
  66. data/test/dummy/config/initializers/respect.rb +9 -0
  67. data/test/dummy/config/initializers/secret_token.rb +7 -0
  68. data/test/dummy/config/initializers/session_store.rb +8 -0
  69. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  70. data/test/dummy/config/locales/en.yml +5 -0
  71. data/test/dummy/config/routes.rb +38 -0
  72. data/test/dummy/config.ru +4 -0
  73. data/test/dummy/db/development.sqlite3 +0 -0
  74. data/test/dummy/db/schema.rb +16 -0
  75. data/test/dummy/db/test.sqlite3 +0 -0
  76. data/test/dummy/lib/exts/Rgba.rb +11 -0
  77. data/test/dummy/lib/exts/circle.rb +11 -0
  78. data/test/dummy/lib/exts/point.rb +11 -0
  79. data/test/dummy/log/development.log +6 -0
  80. data/test/dummy/log/test.log +851 -0
  81. data/test/dummy/public/404.html +26 -0
  82. data/test/dummy/public/422.html +26 -0
  83. data/test/dummy/public/500.html +25 -0
  84. data/test/dummy/public/favicon.ico +0 -0
  85. data/test/dummy/script/rails +6 -0
  86. data/test/functional/automatic_validation_controller_test.rb +131 -0
  87. data/test/functional/caught_exception_controller_test.rb +50 -0
  88. data/test/functional/disabled_controller_test.rb +16 -0
  89. data/test/functional/manual_validation_controller_test.rb +24 -0
  90. data/test/functional/no_schema_controller_test.rb +12 -0
  91. data/test/functional/respect/rails/schemas_controller_test.rb +18 -0
  92. data/test/functional/skipped_automatic_validation_controller_test.rb +12 -0
  93. data/test/headers_can_dumped_in_json.sh +33 -0
  94. data/test/integration/navigation_test.rb +38 -0
  95. data/test/request_headers_validation_in_dev_mode.sh +33 -0
  96. data/test/test_helper.rb +17 -0
  97. data/test/unit/action_schema_test.rb +21 -0
  98. data/test/unit/application_info_test.rb +11 -0
  99. data/test/unit/controller_helper_test.rb +4 -0
  100. data/test/unit/engine_info_test.rb +11 -0
  101. data/test/unit/engine_test.rb +7 -0
  102. data/test/unit/info_test.rb +42 -0
  103. data/test/unit/request_def_test.rb +22 -0
  104. data/test/unit/request_helper_test.rb +67 -0
  105. data/test/unit/request_schema_test.rb +164 -0
  106. data/test/unit/response_def_test.rb +9 -0
  107. data/test/unit/response_helper_test.rb +73 -0
  108. data/test/unit/response_schema_set_test.rb +18 -0
  109. data/test/unit/response_schema_test.rb +147 -0
  110. metadata +334 -0
@@ -0,0 +1,851 @@
1
+ Connecting to database specified by database.yml
2
+ Connecting to database specified by database.yml
3
+ Connecting to database specified by database.yml
4
+  (0.2ms) begin transaction
5
+  (0.0ms) rollback transaction
6
+  (0.0ms) begin transaction
7
+  (0.0ms) rollback transaction
8
+  (0.0ms) begin transaction
9
+  (0.0ms) rollback transaction
10
+  (0.0ms) begin transaction
11
+  (0.0ms) rollback transaction
12
+  (0.1ms) begin transaction
13
+ Processing by AutomaticValidationController#basic_get as JSON
14
+ Parameters: {"param1"=>"42"}
15
+ Request validation: success (47.8ms)
16
+ Response validation: success (6.1ms)
17
+ Completed 200 OK in 62ms (Views: 0.2ms | ActiveRecord: 0.0ms)
18
+  (0.1ms) rollback transaction
19
+  (0.0ms) begin transaction
20
+ Processing by AutomaticValidationController#basic_get as JSON
21
+ Parameters: {"param1"=>54}
22
+ Request validation: failure (6.3ms)
23
+ wrong value: `54':Fixnum instead of `42':Fixnum
24
+ in hash property `param1'
25
+ in query
26
+ Completed 500 Internal Server Error in 11ms
27
+  (0.0ms) rollback transaction
28
+  (0.0ms) begin transaction
29
+ Processing by AutomaticValidationController#composite_custom_types as JSON
30
+ Parameters: {"circle"=>{"center"=>{"x"=>"1.0", "y"=>"2.0"}, "radius"=>"5.5"}, "color"=>[0.0, 0.1, 0.2, 0.3]}
31
+ Request validation: success (27.7ms)
32
+ Response validation: none (0.0ms)
33
+ Completed 200 OK in 112ms (Views: 0.1ms | ActiveRecord: 0.0ms)
34
+  (0.1ms) rollback transaction
35
+  (0.0ms) begin transaction
36
+ Processing by AutomaticValidationController#dump_uri_helpers as JSON
37
+ Request validation: none (0.0ms)
38
+ Response validation: none (0.0ms)
39
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)
40
+  (0.1ms) rollback transaction
41
+  (0.0ms) begin transaction
42
+ Processing by AutomaticValidationController#check_response_headers as JSON
43
+ Parameters: {"response_header_value"=>"wrong"}
44
+ Request validation: none (0.0ms)
45
+ Response validation: failure (2.4ms)
46
+ wrong value: `wrong':String instead of `good':String
47
+ in hash property `X-Test-Header'
48
+ in headers
49
+ Completed 500 Internal Server Error in 26ms
50
+  (0.1ms) rollback transaction
51
+  (0.0ms) begin transaction
52
+ Processing by AutomaticValidationController#request_format as HTML
53
+ Request validation: success (4.4ms)
54
+ Response validation: none (0.0ms)
55
+ Completed 200 OK in 22ms (Views: 12.3ms | ActiveRecord: 0.0ms)
56
+  (0.1ms) rollback transaction
57
+  (0.0ms) begin transaction
58
+ Processing by AutomaticValidationController#request_format as HTML
59
+ Request validation: success (3.8ms)
60
+ Response validation: none (0.0ms)
61
+ Completed 200 OK in 8ms (Views: 1.0ms | ActiveRecord: 0.0ms)
62
+  (0.1ms) rollback transaction
63
+  (0.0ms) begin transaction
64
+ Processing by AutomaticValidationController#request_format as JSON
65
+ Request validation: success (3.8ms)
66
+ Response validation: success (1.8ms)
67
+ Completed 200 OK in 10ms (Views: 0.1ms | ActiveRecord: 0.0ms)
68
+  (0.0ms) rollback transaction
69
+  (0.0ms) begin transaction
70
+ Processing by AutomaticValidationController#request_format as PDF
71
+ Request validation: success (26.9ms)
72
+ Response validation: none (0.0ms)
73
+ Completed 200 OK in 33ms (Views: 2.0ms | ActiveRecord: 0.0ms)
74
+  (0.1ms) rollback transaction
75
+  (0.0ms) begin transaction
76
+ Processing by AutomaticValidationController#no_request_schema as JSON
77
+ Parameters: {"returned_id"=>6666666}
78
+ Request validation: none (0.0ms)
79
+ Response validation: failure (2.4ms)
80
+ wrong value: `6666666':Fixnum instead of `42':Fixnum
81
+ in hash property `id'
82
+ in body
83
+ Completed 500 Internal Server Error in 4ms
84
+  (0.1ms) rollback transaction
85
+  (0.0ms) begin transaction
86
+ Processing by AutomaticValidationController#no_request_schema as JSON
87
+ Parameters: {"returned_id"=>42}
88
+ Request validation: none (0.0ms)
89
+ Response validation: success (2.2ms)
90
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
91
+  (0.0ms) rollback transaction
92
+  (0.0ms) begin transaction
93
+ Processing by AutomaticValidationController#no_schema_at_all as JSON
94
+ Parameters: {"param1"=>"whatever"}
95
+ Request validation: none (0.0ms)
96
+ Response validation: none (0.0ms)
97
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
98
+  (0.0ms) rollback transaction
99
+  (0.0ms) begin transaction
100
+ Processing by AutomaticValidationController#basic_post as JSON
101
+ Parameters: {"body_param"=>"42", "response_param"=>42, "path_param"=>"42"}
102
+ Request validation: success (7.9ms)
103
+ Response validation: success (1.9ms)
104
+ Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 0.0ms)
105
+  (0.1ms) rollback transaction
106
+  (0.0ms) begin transaction
107
+ Processing by AutomaticValidationController#request_contextual_error as JSON
108
+ Parameters: {"o1"=>{"o2"=>{"i"=>54}}}
109
+ Request validation: failure (6.1ms)
110
+ wrong value: `54':Fixnum instead of `42':Fixnum
111
+ in hash property `i'
112
+ in hash property `o2'
113
+ in hash property `o1'
114
+ in query
115
+ Completed 500 Internal Server Error in 10ms
116
+  (0.1ms) rollback transaction
117
+  (0.0ms) begin transaction
118
+ Processing by AutomaticValidationController#response_contextual_error as JSON
119
+ Request validation: none (0.0ms)
120
+ Response validation: failure (2.4ms)
121
+ wrong value: `42':Fixnum instead of `51':Fixnum
122
+ in hash property `i'
123
+ in hash property `o2'
124
+ in hash property `o1'
125
+ in body
126
+ Completed 500 Internal Server Error in 5ms
127
+  (0.1ms) rollback transaction
128
+  (0.0ms) begin transaction
129
+  (0.0ms) rollback transaction
130
+  (0.0ms) begin transaction
131
+ Processing by AutomaticValidationController#check_response_headers as JSON
132
+ Parameters: {"response_header_value"=>"good"}
133
+ Request validation: none (0.0ms)
134
+ Response validation: success (2.1ms)
135
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
136
+  (0.0ms) rollback transaction
137
+  (0.0ms) begin transaction
138
+ Processing by CaughtExceptionController#response_validator as HTML
139
+ Parameters: {"id"=>"error_value"}
140
+ Request validation: none (0.0ms)
141
+ Response validation: none (0.0ms)
142
+ Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.0ms)
143
+  (0.1ms) rollback transaction
144
+  (0.0ms) begin transaction
145
+ Processing by CaughtExceptionController#request_validator as HTML
146
+ Parameters: {"id"=>"error_value"}
147
+ Request validation: failure (4.1ms)
148
+ malformed integer value: `error_value'
149
+ in hash property `id'
150
+ in query
151
+ Completed 500 Internal Server Error in 13ms (Views: 5.0ms | ActiveRecord: 0.0ms)
152
+  (0.1ms) rollback transaction
153
+  (0.0ms) begin transaction
154
+ Processing by CaughtExceptionController#request_validator as JSON
155
+ Parameters: {"id"=>"error_value"}
156
+ Request validation: failure (3.7ms)
157
+ malformed integer value: `error_value'
158
+ in hash property `id'
159
+ in query
160
+ Completed 500 Internal Server Error in 7ms (Views: 0.1ms | ActiveRecord: 0.0ms)
161
+  (0.0ms) rollback transaction
162
+  (0.0ms) begin transaction
163
+ Processing by CaughtExceptionController#response_validator as JSON
164
+ Parameters: {"id"=>"error_value"}
165
+ Request validation: none (0.0ms)
166
+ Response validation: failure (0.2ms)
167
+ malformed integer value: `error_value'
168
+ in hash property `id'
169
+ in body
170
+ Completed 500 Internal Server Error in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
171
+  (0.1ms) rollback transaction
172
+  (0.0ms) begin transaction
173
+ Processing by DisabledController#basic as JSON
174
+ Parameters: {"param1"=>42}
175
+ Request validation: none (0.0ms)
176
+ Response validation: none (0.0ms)
177
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
178
+  (0.0ms) rollback transaction
179
+  (0.0ms) begin transaction
180
+ Processing by DisabledController#basic as JSON
181
+ Parameters: {"param1"=>54}
182
+ Request validation: none (0.0ms)
183
+ Response validation: none (0.0ms)
184
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
185
+  (0.0ms) rollback transaction
186
+  (0.0ms) begin transaction
187
+  (0.0ms) rollback transaction
188
+  (0.0ms) begin transaction
189
+  (0.0ms) rollback transaction
190
+  (0.0ms) begin transaction
191
+  (0.1ms) rollback transaction
192
+  (0.0ms) begin transaction
193
+  (0.0ms) rollback transaction
194
+  (0.0ms) begin transaction
195
+  (0.0ms) rollback transaction
196
+  (0.0ms) begin transaction
197
+  (0.0ms) rollback transaction
198
+  (0.0ms) begin transaction
199
+  (0.0ms) rollback transaction
200
+  (0.0ms) begin transaction
201
+  (0.0ms) rollback transaction
202
+  (0.0ms) begin transaction
203
+ Processing by ManualValidationController#no_schema as JSON
204
+ Parameters: {"param1"=>1664}
205
+ Request validation: none (0.0ms)
206
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
207
+ Response validation: none (0.0ms)
208
+  (0.0ms) rollback transaction
209
+  (0.0ms) begin transaction
210
+ Processing by ManualValidationController#raise_custom_error as JSON
211
+ Parameters: {"param1"=>54}
212
+ Request validation: failure (5.8ms)
213
+ wrong value: `54':Fixnum instead of `42':Fixnum
214
+ in hash property `param1'
215
+ in query
216
+ Completed 500 Internal Server Error in 10ms
217
+  (0.0ms) rollback transaction
218
+  (0.0ms) begin transaction
219
+ Processing by ManualValidationController#raise_custom_error_without_rescue as JSON
220
+ Parameters: {"param1"=>54}
221
+ Request validation: failure (6.0ms)
222
+ wrong value: `54':Fixnum instead of `42':Fixnum
223
+ in hash property `param1'
224
+ in query
225
+ Completed 500 Internal Server Error in 10ms
226
+  (0.0ms) rollback transaction
227
+  (0.0ms) begin transaction
228
+ Started GET "/rest_spec" for 127.0.0.1 at 2013-05-20 13:29:59 +0200
229
+ Processing by Respect::Rails::SchemasController#index as HTML
230
+ Completed 200 OK in 29ms (Views: 3.4ms | ActiveRecord: 0.0ms)
231
+ Started GET "/rest_spec/doc" for 127.0.0.1 at 2013-05-20 13:29:59 +0200
232
+ Processing by Respect::Rails::SchemasController#doc as HTML
233
+ Completed 200 OK in 1038ms (Views: 589.4ms | ActiveRecord: 0.0ms)
234
+ Started GET "/rest_spec/doc.html" for 127.0.0.1 at 2013-05-20 13:30:00 +0200
235
+ Processing by Respect::Rails::SchemasController#doc as HTML
236
+ Completed 200 OK in 1034ms (Views: 583.1ms | ActiveRecord: 0.0ms)
237
+  (0.1ms) rollback transaction
238
+  (0.0ms) begin transaction
239
+ Started GET "/" for 127.0.0.1 at 2013-05-20 13:30:01 +0200
240
+ Processing by AutomaticValidationController#basic_get as JSON
241
+ Parameters: {"param1"=>42}
242
+ Request validation: success (6.7ms)
243
+ Response validation: success (2.3ms)
244
+ Completed 200 OK in 14ms (Views: 0.1ms | ActiveRecord: 0.0ms)
245
+  (0.0ms) rollback transaction
246
+  (0.0ms) begin transaction
247
+ Started GET "/automatic_validation/check_request_headers.json" for 127.0.0.1 at 2013-05-20 13:30:01 +0200
248
+ Processing by AutomaticValidationController#check_request_headers as JSON
249
+ Request validation: failure (2.9ms)
250
+ wrong value: `erroneous_value':String instead of `value':String
251
+ in hash property `X-Test-Header'
252
+ in headers
253
+ Completed 500 Internal Server Error in 6ms
254
+  (0.0ms) rollback transaction
255
+  (0.0ms) begin transaction
256
+ Started GET "/automatic_validation/check_request_headers.json" for 127.0.0.1 at 2013-05-20 13:30:01 +0200
257
+ Processing by AutomaticValidationController#check_request_headers as JSON
258
+ Request validation: success (4.7ms)
259
+ Response validation: none (0.0ms)
260
+ Completed 200 OK in 32ms (Views: 0.1ms | ActiveRecord: 0.0ms)
261
+  (0.1ms) rollback transaction
262
+  (0.0ms) begin transaction
263
+ Processing by NoSchemaController#basic as JSON
264
+ Parameters: {"param1"=>51}
265
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
266
+  (0.0ms) rollback transaction
267
+  (0.0ms) begin transaction
268
+  (0.0ms) rollback transaction
269
+  (0.0ms) begin transaction
270
+  (0.0ms) rollback transaction
271
+  (0.1ms) begin transaction
272
+  (0.0ms) rollback transaction
273
+  (0.1ms) begin transaction
274
+ Processing by Respect::Rails::SchemasController#doc as HTML
275
+ Completed 200 OK in 872ms (Views: 474.7ms | ActiveRecord: 0.0ms)
276
+  (0.1ms) rollback transaction
277
+  (0.0ms) begin transaction
278
+ Processing by Respect::Rails::SchemasController#index as HTML
279
+ Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.0ms)
280
+  (0.0ms) rollback transaction
281
+  (0.0ms) begin transaction
282
+ Processing by SkippedAutomaticValidationController#basic_get as JSON
283
+ Parameters: {"param1"=>51}
284
+ Completed 500 Internal Server Error in 4ms
285
+  (0.0ms) rollback transaction
286
+ Connecting to database specified by database.yml
287
+  (0.3ms) begin transaction
288
+  (0.1ms) rollback transaction
289
+  (0.0ms) begin transaction
290
+  (0.0ms) rollback transaction
291
+  (0.0ms) begin transaction
292
+  (0.0ms) rollback transaction
293
+  (0.0ms) begin transaction
294
+  (0.0ms) rollback transaction
295
+  (0.1ms) begin transaction
296
+ Processing by AutomaticValidationController#basic_get as JSON
297
+ Parameters: {"param1"=>"42"}
298
+ Request validation: success (8.9ms)
299
+ Response validation: success (4.7ms)
300
+ Completed 200 OK in 22ms (Views: 0.2ms | ActiveRecord: 0.0ms)
301
+  (0.1ms) rollback transaction
302
+  (0.0ms) begin transaction
303
+ Processing by AutomaticValidationController#basic_get as JSON
304
+ Parameters: {"param1"=>54}
305
+ Request validation: failure (5.9ms)
306
+ wrong value: `54':Fixnum instead of `42':Fixnum
307
+ in hash property `param1'
308
+ in query
309
+ Completed 500 Internal Server Error in 10ms
310
+  (0.0ms) rollback transaction
311
+  (0.0ms) begin transaction
312
+ Processing by AutomaticValidationController#composite_custom_types as JSON
313
+ Parameters: {"circle"=>{"center"=>{"x"=>"1.0", "y"=>"2.0"}, "radius"=>"5.5"}, "color"=>[0.0, 0.1, 0.2, 0.3]}
314
+ Request validation: success (22.1ms)
315
+ Response validation: none (0.0ms)
316
+ Completed 200 OK in 59ms (Views: 0.1ms | ActiveRecord: 0.0ms)
317
+  (0.1ms) rollback transaction
318
+  (0.0ms) begin transaction
319
+ Processing by AutomaticValidationController#dump_uri_helpers as JSON
320
+ Request validation: none (0.0ms)
321
+ Response validation: none (0.0ms)
322
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)
323
+  (0.0ms) rollback transaction
324
+  (0.0ms) begin transaction
325
+ Processing by AutomaticValidationController#check_response_headers as JSON
326
+ Parameters: {"response_header_value"=>"wrong"}
327
+ Request validation: none (0.0ms)
328
+ Response validation: failure (22.8ms)
329
+ wrong value: `wrong':String instead of `good':String
330
+ in hash property `X-Test-Header'
331
+ in headers
332
+ Completed 500 Internal Server Error in 25ms
333
+  (0.1ms) rollback transaction
334
+  (0.0ms) begin transaction
335
+ Processing by AutomaticValidationController#request_format as HTML
336
+ Request validation: success (3.7ms)
337
+ Response validation: none (0.0ms)
338
+ Completed 200 OK in 19ms (Views: 10.9ms | ActiveRecord: 0.0ms)
339
+  (0.1ms) rollback transaction
340
+  (0.0ms) begin transaction
341
+ Processing by AutomaticValidationController#request_format as HTML
342
+ Request validation: success (3.6ms)
343
+ Response validation: none (0.0ms)
344
+ Completed 200 OK in 8ms (Views: 0.8ms | ActiveRecord: 0.0ms)
345
+  (0.0ms) rollback transaction
346
+  (0.0ms) begin transaction
347
+ Processing by AutomaticValidationController#request_format as JSON
348
+ Request validation: success (3.7ms)
349
+ Response validation: success (1.8ms)
350
+ Completed 200 OK in 9ms (Views: 0.1ms | ActiveRecord: 0.0ms)
351
+  (0.0ms) rollback transaction
352
+  (0.0ms) begin transaction
353
+ Processing by AutomaticValidationController#request_format as PDF
354
+ Request validation: success (25.6ms)
355
+ Response validation: none (0.0ms)
356
+ Completed 200 OK in 31ms (Views: 1.8ms | ActiveRecord: 0.0ms)
357
+  (0.1ms) rollback transaction
358
+  (0.0ms) begin transaction
359
+ Processing by AutomaticValidationController#no_request_schema as JSON
360
+ Parameters: {"returned_id"=>6666666}
361
+ Request validation: none (0.0ms)
362
+ Response validation: failure (2.2ms)
363
+ wrong value: `6666666':Fixnum instead of `42':Fixnum
364
+ in hash property `id'
365
+ in body
366
+ Completed 500 Internal Server Error in 4ms
367
+  (0.0ms) rollback transaction
368
+  (0.0ms) begin transaction
369
+ Processing by AutomaticValidationController#no_request_schema as JSON
370
+ Parameters: {"returned_id"=>42}
371
+ Request validation: none (0.0ms)
372
+ Response validation: success (1.9ms)
373
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
374
+  (0.0ms) rollback transaction
375
+  (0.0ms) begin transaction
376
+ Processing by AutomaticValidationController#no_schema_at_all as JSON
377
+ Parameters: {"param1"=>"whatever"}
378
+ Request validation: none (0.0ms)
379
+ Response validation: none (0.0ms)
380
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
381
+  (0.0ms) rollback transaction
382
+  (0.0ms) begin transaction
383
+ Processing by AutomaticValidationController#basic_post as JSON
384
+ Parameters: {"body_param"=>"42", "response_param"=>42, "path_param"=>"42"}
385
+ Request validation: success (7.5ms)
386
+ Response validation: success (1.8ms)
387
+ Completed 200 OK in 14ms (Views: 0.1ms | ActiveRecord: 0.0ms)
388
+  (0.0ms) rollback transaction
389
+  (0.0ms) begin transaction
390
+ Processing by AutomaticValidationController#request_contextual_error as JSON
391
+ Parameters: {"o1"=>{"o2"=>{"i"=>54}}}
392
+ Request validation: failure (5.7ms)
393
+ wrong value: `54':Fixnum instead of `42':Fixnum
394
+ in hash property `i'
395
+ in hash property `o2'
396
+ in hash property `o1'
397
+ in query
398
+ Completed 500 Internal Server Error in 9ms
399
+  (0.1ms) rollback transaction
400
+  (0.0ms) begin transaction
401
+ Processing by AutomaticValidationController#response_contextual_error as JSON
402
+ Request validation: none (0.0ms)
403
+ Response validation: failure (2.2ms)
404
+ wrong value: `42':Fixnum instead of `51':Fixnum
405
+ in hash property `i'
406
+ in hash property `o2'
407
+ in hash property `o1'
408
+ in body
409
+ Completed 500 Internal Server Error in 5ms
410
+  (0.0ms) rollback transaction
411
+  (0.0ms) begin transaction
412
+  (0.0ms) rollback transaction
413
+  (0.0ms) begin transaction
414
+ Processing by AutomaticValidationController#check_response_headers as JSON
415
+ Parameters: {"response_header_value"=>"good"}
416
+ Request validation: none (0.0ms)
417
+ Response validation: success (2.1ms)
418
+ Completed 200 OK in 3ms (Views: 0.0ms | ActiveRecord: 0.0ms)
419
+  (0.0ms) rollback transaction
420
+  (0.0ms) begin transaction
421
+ Processing by CaughtExceptionController#response_validator as HTML
422
+ Parameters: {"id"=>"error_value"}
423
+ Request validation: none (0.0ms)
424
+ Response validation: none (0.0ms)
425
+ Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.0ms)
426
+  (0.1ms) rollback transaction
427
+  (0.0ms) begin transaction
428
+ Processing by CaughtExceptionController#request_validator as HTML
429
+ Parameters: {"id"=>"error_value"}
430
+ Request validation: failure (3.7ms)
431
+ malformed integer value: `error_value'
432
+ in hash property `id'
433
+ in query
434
+ Completed 500 Internal Server Error in 10ms (Views: 3.0ms | ActiveRecord: 0.0ms)
435
+  (0.1ms) rollback transaction
436
+  (0.0ms) begin transaction
437
+ Processing by CaughtExceptionController#request_validator as JSON
438
+ Parameters: {"id"=>"error_value"}
439
+ Request validation: failure (3.7ms)
440
+ malformed integer value: `error_value'
441
+ in hash property `id'
442
+ in query
443
+ Completed 500 Internal Server Error in 7ms (Views: 0.1ms | ActiveRecord: 0.0ms)
444
+  (0.0ms) rollback transaction
445
+  (0.0ms) begin transaction
446
+ Processing by CaughtExceptionController#response_validator as JSON
447
+ Parameters: {"id"=>"error_value"}
448
+ Request validation: none (0.0ms)
449
+ Response validation: failure (0.2ms)
450
+ malformed integer value: `error_value'
451
+ in hash property `id'
452
+ in body
453
+ Completed 500 Internal Server Error in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
454
+  (0.1ms) rollback transaction
455
+  (0.0ms) begin transaction
456
+ Processing by DisabledController#basic as JSON
457
+ Parameters: {"param1"=>42}
458
+ Request validation: none (0.0ms)
459
+ Response validation: none (0.0ms)
460
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
461
+  (0.0ms) rollback transaction
462
+  (0.0ms) begin transaction
463
+ Processing by DisabledController#basic as JSON
464
+ Parameters: {"param1"=>54}
465
+ Request validation: none (0.0ms)
466
+ Response validation: none (0.0ms)
467
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
468
+  (0.0ms) rollback transaction
469
+  (0.0ms) begin transaction
470
+  (0.0ms) rollback transaction
471
+  (0.0ms) begin transaction
472
+  (0.0ms) rollback transaction
473
+  (0.0ms) begin transaction
474
+  (0.1ms) rollback transaction
475
+  (0.0ms) begin transaction
476
+  (0.0ms) rollback transaction
477
+  (0.0ms) begin transaction
478
+  (0.0ms) rollback transaction
479
+  (0.0ms) begin transaction
480
+  (0.0ms) rollback transaction
481
+  (0.0ms) begin transaction
482
+  (0.0ms) rollback transaction
483
+  (0.0ms) begin transaction
484
+  (0.0ms) rollback transaction
485
+  (0.0ms) begin transaction
486
+ Processing by ManualValidationController#no_schema as JSON
487
+ Parameters: {"param1"=>1664}
488
+ Request validation: none (0.0ms)
489
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
490
+ Response validation: none (0.0ms)
491
+  (0.0ms) rollback transaction
492
+  (0.0ms) begin transaction
493
+ Processing by ManualValidationController#raise_custom_error as JSON
494
+ Parameters: {"param1"=>54}
495
+ Request validation: failure (5.6ms)
496
+ wrong value: `54':Fixnum instead of `42':Fixnum
497
+ in hash property `param1'
498
+ in query
499
+ Completed 500 Internal Server Error in 10ms
500
+  (0.0ms) rollback transaction
501
+  (0.0ms) begin transaction
502
+ Processing by ManualValidationController#raise_custom_error_without_rescue as JSON
503
+ Parameters: {"param1"=>54}
504
+ Request validation: failure (5.8ms)
505
+ wrong value: `54':Fixnum instead of `42':Fixnum
506
+ in hash property `param1'
507
+ in query
508
+ Completed 500 Internal Server Error in 10ms
509
+  (0.0ms) rollback transaction
510
+  (0.0ms) begin transaction
511
+ Started GET "/rest_spec" for 127.0.0.1 at 2013-05-20 13:37:48 +0200
512
+ Processing by Respect::Rails::SchemasController#index as HTML
513
+ Completed 200 OK in 29ms (Views: 3.1ms | ActiveRecord: 0.0ms)
514
+ Started GET "/rest_spec/doc" for 127.0.0.1 at 2013-05-20 13:37:48 +0200
515
+ Processing by Respect::Rails::SchemasController#doc as HTML
516
+ Completed 200 OK in 1030ms (Views: 583.9ms | ActiveRecord: 0.0ms)
517
+ Started GET "/rest_spec/doc.html" for 127.0.0.1 at 2013-05-20 13:37:49 +0200
518
+ Processing by Respect::Rails::SchemasController#doc as HTML
519
+ Completed 200 OK in 1033ms (Views: 581.3ms | ActiveRecord: 0.0ms)
520
+  (0.1ms) rollback transaction
521
+  (0.0ms) begin transaction
522
+ Started GET "/" for 127.0.0.1 at 2013-05-20 13:37:50 +0200
523
+ Processing by AutomaticValidationController#basic_get as JSON
524
+ Parameters: {"param1"=>42}
525
+ Request validation: success (7.0ms)
526
+ Response validation: success (2.2ms)
527
+ Completed 200 OK in 14ms (Views: 0.1ms | ActiveRecord: 0.0ms)
528
+  (0.0ms) rollback transaction
529
+  (0.0ms) begin transaction
530
+ Started GET "/automatic_validation/check_request_headers.json" for 127.0.0.1 at 2013-05-20 13:37:50 +0200
531
+ Processing by AutomaticValidationController#check_request_headers as JSON
532
+ Request validation: failure (2.5ms)
533
+ wrong value: `erroneous_value':String instead of `value':String
534
+ in hash property `X-Test-Header'
535
+ in headers
536
+ Completed 500 Internal Server Error in 6ms
537
+  (0.0ms) rollback transaction
538
+  (0.0ms) begin transaction
539
+ Started GET "/automatic_validation/check_request_headers.json" for 127.0.0.1 at 2013-05-20 13:37:50 +0200
540
+ Processing by AutomaticValidationController#check_request_headers as JSON
541
+ Request validation: success (4.6ms)
542
+ Response validation: none (0.0ms)
543
+ Completed 200 OK in 31ms (Views: 0.1ms | ActiveRecord: 0.0ms)
544
+  (0.1ms) rollback transaction
545
+  (0.0ms) begin transaction
546
+ Processing by NoSchemaController#basic as JSON
547
+ Parameters: {"param1"=>51}
548
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
549
+  (0.0ms) rollback transaction
550
+  (0.0ms) begin transaction
551
+  (0.0ms) rollback transaction
552
+  (0.0ms) begin transaction
553
+  (0.0ms) rollback transaction
554
+  (0.1ms) begin transaction
555
+  (0.0ms) rollback transaction
556
+  (0.1ms) begin transaction
557
+ Processing by Respect::Rails::SchemasController#doc as HTML
558
+ Completed 200 OK in 881ms (Views: 487.4ms | ActiveRecord: 0.0ms)
559
+  (0.1ms) rollback transaction
560
+  (0.0ms) begin transaction
561
+ Processing by Respect::Rails::SchemasController#index as HTML
562
+ Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.0ms)
563
+  (0.0ms) rollback transaction
564
+  (0.0ms) begin transaction
565
+ Processing by SkippedAutomaticValidationController#basic_get as JSON
566
+ Parameters: {"param1"=>51}
567
+ Completed 500 Internal Server Error in 4ms
568
+  (0.0ms) rollback transaction
569
+ Connecting to database specified by database.yml
570
+  (0.2ms) begin transaction
571
+  (0.0ms) rollback transaction
572
+  (0.0ms) begin transaction
573
+  (0.0ms) rollback transaction
574
+  (0.0ms) begin transaction
575
+  (0.0ms) rollback transaction
576
+  (0.0ms) begin transaction
577
+  (0.0ms) rollback transaction
578
+  (0.1ms) begin transaction
579
+ Processing by AutomaticValidationController#basic_get as JSON
580
+ Parameters: {"param1"=>"42"}
581
+ Request validation: success (8.1ms)
582
+ Response validation: success (4.3ms)
583
+ Completed 200 OK in 20ms (Views: 0.2ms | ActiveRecord: 0.0ms)
584
+  (0.1ms) rollback transaction
585
+  (0.0ms) begin transaction
586
+ Processing by AutomaticValidationController#basic_get as JSON
587
+ Parameters: {"param1"=>54}
588
+ Request validation: failure (6.1ms)
589
+ wrong value: `54':Fixnum instead of `42':Fixnum
590
+ in hash property `param1'
591
+ in query
592
+ Completed 500 Internal Server Error in 10ms
593
+  (0.0ms) rollback transaction
594
+  (0.0ms) begin transaction
595
+ Processing by AutomaticValidationController#composite_custom_types as JSON
596
+ Parameters: {"circle"=>{"center"=>{"x"=>"1.0", "y"=>"2.0"}, "radius"=>"5.5"}, "color"=>[0.0, 0.1, 0.2, 0.3]}
597
+ Request validation: success (21.1ms)
598
+ Response validation: none (0.0ms)
599
+ Completed 200 OK in 57ms (Views: 0.1ms | ActiveRecord: 0.0ms)
600
+  (0.1ms) rollback transaction
601
+  (0.0ms) begin transaction
602
+ Processing by AutomaticValidationController#dump_uri_helpers as JSON
603
+ Request validation: none (0.0ms)
604
+ Response validation: none (0.0ms)
605
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)
606
+  (0.0ms) rollback transaction
607
+  (0.0ms) begin transaction
608
+ Processing by AutomaticValidationController#check_response_headers as JSON
609
+ Parameters: {"response_header_value"=>"wrong"}
610
+ Request validation: none (0.0ms)
611
+ Response validation: failure (22.0ms)
612
+ wrong value: `wrong':String instead of `good':String
613
+ in hash property `X-Test-Header'
614
+ in headers
615
+ Completed 500 Internal Server Error in 24ms
616
+  (0.1ms) rollback transaction
617
+  (0.0ms) begin transaction
618
+ Processing by AutomaticValidationController#request_format as HTML
619
+ Request validation: success (3.8ms)
620
+ Response validation: none (0.0ms)
621
+ Completed 200 OK in 19ms (Views: 10.2ms | ActiveRecord: 0.0ms)
622
+  (0.1ms) rollback transaction
623
+  (0.0ms) begin transaction
624
+ Processing by AutomaticValidationController#request_format as HTML
625
+ Request validation: success (3.6ms)
626
+ Response validation: none (0.0ms)
627
+ Completed 200 OK in 8ms (Views: 0.8ms | ActiveRecord: 0.0ms)
628
+  (0.0ms) rollback transaction
629
+  (0.0ms) begin transaction
630
+ Processing by AutomaticValidationController#request_format as JSON
631
+ Request validation: success (3.5ms)
632
+ Response validation: success (1.9ms)
633
+ Completed 200 OK in 9ms (Views: 0.1ms | ActiveRecord: 0.0ms)
634
+  (0.0ms) rollback transaction
635
+  (0.0ms) begin transaction
636
+ Processing by AutomaticValidationController#request_format as PDF
637
+ Request validation: success (24.0ms)
638
+ Response validation: none (0.0ms)
639
+ Completed 200 OK in 30ms (Views: 1.7ms | ActiveRecord: 0.0ms)
640
+  (0.1ms) rollback transaction
641
+  (0.0ms) begin transaction
642
+ Processing by AutomaticValidationController#no_request_schema as JSON
643
+ Parameters: {"returned_id"=>6666666}
644
+ Request validation: none (0.0ms)
645
+ Response validation: failure (2.0ms)
646
+ wrong value: `6666666':Fixnum instead of `42':Fixnum
647
+ in hash property `id'
648
+ in body
649
+ Completed 500 Internal Server Error in 4ms
650
+  (0.0ms) rollback transaction
651
+  (0.0ms) begin transaction
652
+ Processing by AutomaticValidationController#no_request_schema as JSON
653
+ Parameters: {"returned_id"=>42}
654
+ Request validation: none (0.0ms)
655
+ Response validation: success (1.8ms)
656
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
657
+  (0.0ms) rollback transaction
658
+  (0.0ms) begin transaction
659
+ Processing by AutomaticValidationController#no_schema_at_all as JSON
660
+ Parameters: {"param1"=>"whatever"}
661
+ Request validation: none (0.0ms)
662
+ Response validation: none (0.0ms)
663
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
664
+  (0.0ms) rollback transaction
665
+  (0.0ms) begin transaction
666
+ Processing by AutomaticValidationController#basic_post as JSON
667
+ Parameters: {"body_param"=>"42", "response_param"=>42, "path_param"=>"42"}
668
+ Request validation: success (7.4ms)
669
+ Response validation: success (1.9ms)
670
+ Completed 200 OK in 14ms (Views: 0.1ms | ActiveRecord: 0.0ms)
671
+  (0.0ms) rollback transaction
672
+  (0.0ms) begin transaction
673
+ Processing by AutomaticValidationController#request_contextual_error as JSON
674
+ Parameters: {"o1"=>{"o2"=>{"i"=>54}}}
675
+ Request validation: failure (6.3ms)
676
+ wrong value: `54':Fixnum instead of `42':Fixnum
677
+ in hash property `i'
678
+ in hash property `o2'
679
+ in hash property `o1'
680
+ in query
681
+ Completed 500 Internal Server Error in 10ms
682
+  (0.1ms) rollback transaction
683
+  (0.0ms) begin transaction
684
+ Processing by AutomaticValidationController#response_contextual_error as JSON
685
+ Request validation: none (0.0ms)
686
+ Response validation: failure (2.2ms)
687
+ wrong value: `42':Fixnum instead of `51':Fixnum
688
+ in hash property `i'
689
+ in hash property `o2'
690
+ in hash property `o1'
691
+ in body
692
+ Completed 500 Internal Server Error in 5ms
693
+  (0.0ms) rollback transaction
694
+  (0.1ms) begin transaction
695
+  (0.0ms) rollback transaction
696
+  (0.0ms) begin transaction
697
+ Processing by AutomaticValidationController#check_response_headers as JSON
698
+ Parameters: {"response_header_value"=>"good"}
699
+ Request validation: none (0.0ms)
700
+ Response validation: success (2.1ms)
701
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
702
+  (0.0ms) rollback transaction
703
+  (0.0ms) begin transaction
704
+ Processing by CaughtExceptionController#response_validator as HTML
705
+ Parameters: {"id"=>"error_value"}
706
+ Request validation: none (0.0ms)
707
+ Response validation: none (0.0ms)
708
+ Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.0ms)
709
+  (0.1ms) rollback transaction
710
+  (0.0ms) begin transaction
711
+ Processing by CaughtExceptionController#request_validator as HTML
712
+ Parameters: {"id"=>"error_value"}
713
+ Request validation: failure (3.7ms)
714
+ malformed integer value: `error_value'
715
+ in hash property `id'
716
+ in query
717
+ Completed 500 Internal Server Error in 10ms (Views: 2.8ms | ActiveRecord: 0.0ms)
718
+  (0.0ms) rollback transaction
719
+  (0.0ms) begin transaction
720
+ Processing by CaughtExceptionController#request_validator as JSON
721
+ Parameters: {"id"=>"error_value"}
722
+ Request validation: failure (3.9ms)
723
+ malformed integer value: `error_value'
724
+ in hash property `id'
725
+ in query
726
+ Completed 500 Internal Server Error in 7ms (Views: 0.1ms | ActiveRecord: 0.0ms)
727
+  (0.0ms) rollback transaction
728
+  (0.0ms) begin transaction
729
+ Processing by CaughtExceptionController#response_validator as JSON
730
+ Parameters: {"id"=>"error_value"}
731
+ Request validation: none (0.0ms)
732
+ Response validation: failure (0.2ms)
733
+ malformed integer value: `error_value'
734
+ in hash property `id'
735
+ in body
736
+ Completed 500 Internal Server Error in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)
737
+  (0.1ms) rollback transaction
738
+  (0.0ms) begin transaction
739
+ Processing by DisabledController#basic as JSON
740
+ Parameters: {"param1"=>42}
741
+ Request validation: none (0.0ms)
742
+ Response validation: none (0.0ms)
743
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
744
+  (0.0ms) rollback transaction
745
+  (0.0ms) begin transaction
746
+ Processing by DisabledController#basic as JSON
747
+ Parameters: {"param1"=>54}
748
+ Request validation: none (0.0ms)
749
+ Response validation: none (0.0ms)
750
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
751
+  (0.0ms) rollback transaction
752
+  (0.0ms) begin transaction
753
+  (0.0ms) rollback transaction
754
+  (0.0ms) begin transaction
755
+  (0.0ms) rollback transaction
756
+  (0.0ms) begin transaction
757
+  (0.1ms) rollback transaction
758
+  (0.0ms) begin transaction
759
+  (0.0ms) rollback transaction
760
+  (0.0ms) begin transaction
761
+  (0.0ms) rollback transaction
762
+  (0.0ms) begin transaction
763
+  (0.0ms) rollback transaction
764
+  (0.0ms) begin transaction
765
+  (0.0ms) rollback transaction
766
+  (0.0ms) begin transaction
767
+  (0.0ms) rollback transaction
768
+  (0.0ms) begin transaction
769
+ Processing by ManualValidationController#no_schema as JSON
770
+ Parameters: {"param1"=>1664}
771
+ Request validation: none (0.0ms)
772
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
773
+ Response validation: none (0.0ms)
774
+  (0.0ms) rollback transaction
775
+  (0.0ms) begin transaction
776
+ Processing by ManualValidationController#raise_custom_error as JSON
777
+ Parameters: {"param1"=>54}
778
+ Request validation: failure (5.6ms)
779
+ wrong value: `54':Fixnum instead of `42':Fixnum
780
+ in hash property `param1'
781
+ in query
782
+ Completed 500 Internal Server Error in 10ms
783
+  (0.0ms) rollback transaction
784
+  (0.0ms) begin transaction
785
+ Processing by ManualValidationController#raise_custom_error_without_rescue as JSON
786
+ Parameters: {"param1"=>54}
787
+ Request validation: failure (5.6ms)
788
+ wrong value: `54':Fixnum instead of `42':Fixnum
789
+ in hash property `param1'
790
+ in query
791
+ Completed 500 Internal Server Error in 9ms
792
+  (0.0ms) rollback transaction
793
+  (0.0ms) begin transaction
794
+ Started GET "/rest_spec" for 127.0.0.1 at 2013-05-20 13:38:55 +0200
795
+ Processing by Respect::Rails::SchemasController#index as HTML
796
+ Completed 200 OK in 27ms (Views: 3.1ms | ActiveRecord: 0.0ms)
797
+ Started GET "/rest_spec/doc" for 127.0.0.1 at 2013-05-20 13:38:55 +0200
798
+ Processing by Respect::Rails::SchemasController#doc as HTML
799
+ Completed 200 OK in 1013ms (Views: 573.1ms | ActiveRecord: 0.0ms)
800
+ Started GET "/rest_spec/doc.html" for 127.0.0.1 at 2013-05-20 13:38:56 +0200
801
+ Processing by Respect::Rails::SchemasController#doc as HTML
802
+ Completed 200 OK in 1025ms (Views: 582.1ms | ActiveRecord: 0.0ms)
803
+  (0.1ms) rollback transaction
804
+  (0.0ms) begin transaction
805
+ Started GET "/" for 127.0.0.1 at 2013-05-20 13:38:57 +0200
806
+ Processing by AutomaticValidationController#basic_get as JSON
807
+ Parameters: {"param1"=>42}
808
+ Request validation: success (7.0ms)
809
+ Response validation: success (2.5ms)
810
+ Completed 200 OK in 14ms (Views: 0.1ms | ActiveRecord: 0.0ms)
811
+  (0.1ms) rollback transaction
812
+  (0.0ms) begin transaction
813
+ Started GET "/automatic_validation/check_request_headers.json" for 127.0.0.1 at 2013-05-20 13:38:57 +0200
814
+ Processing by AutomaticValidationController#check_request_headers as JSON
815
+ Request validation: failure (2.5ms)
816
+ wrong value: `erroneous_value':String instead of `value':String
817
+ in hash property `X-Test-Header'
818
+ in headers
819
+ Completed 500 Internal Server Error in 6ms
820
+  (0.0ms) rollback transaction
821
+  (0.0ms) begin transaction
822
+ Started GET "/automatic_validation/check_request_headers.json" for 127.0.0.1 at 2013-05-20 13:38:57 +0200
823
+ Processing by AutomaticValidationController#check_request_headers as JSON
824
+ Request validation: success (5.1ms)
825
+ Response validation: none (0.0ms)
826
+ Completed 200 OK in 33ms (Views: 0.1ms | ActiveRecord: 0.0ms)
827
+  (0.1ms) rollback transaction
828
+  (0.0ms) begin transaction
829
+ Processing by NoSchemaController#basic as JSON
830
+ Parameters: {"param1"=>51}
831
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
832
+  (0.0ms) rollback transaction
833
+  (0.0ms) begin transaction
834
+  (0.0ms) rollback transaction
835
+  (0.0ms) begin transaction
836
+  (0.0ms) rollback transaction
837
+  (0.1ms) begin transaction
838
+  (0.0ms) rollback transaction
839
+  (0.1ms) begin transaction
840
+ Processing by Respect::Rails::SchemasController#doc as HTML
841
+ Completed 200 OK in 857ms (Views: 463.5ms | ActiveRecord: 0.0ms)
842
+  (0.1ms) rollback transaction
843
+  (0.0ms) begin transaction
844
+ Processing by Respect::Rails::SchemasController#index as HTML
845
+ Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.0ms)
846
+  (0.0ms) rollback transaction
847
+  (0.0ms) begin transaction
848
+ Processing by SkippedAutomaticValidationController#basic_get as JSON
849
+ Parameters: {"param1"=>51}
850
+ Completed 500 Internal Server Error in 4ms
851
+  (0.0ms) rollback transaction