simplificator_infrastructure 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/simplificator_infrastructure/errors_controller.rb +1 -1
  3. data/lib/simplificator_infrastructure/error_page_handler.rb +5 -2
  4. data/lib/simplificator_infrastructure/error_summary.rb +19 -13
  5. data/lib/simplificator_infrastructure/version.rb +1 -1
  6. data/test/dummy/app/controllers/error_previews_controller.rb +0 -1
  7. data/test/dummy/config/routes.rb +1 -2
  8. data/test/dummy/log/development.log +22 -1972
  9. data/test/dummy/log/test.log +796 -0
  10. data/test/dummy/test/integration/error_previews_controller_test.rb +16 -0
  11. data/test/lib/simplificator_infrastructure/error_summary_test.rb +64 -0
  12. metadata +6 -46
  13. data/test/dummy/test/controllers/foos_controller_test.rb +0 -7
  14. data/test/dummy/tmp/cache/assets/development/sprockets/0500adeee201d5a348b4c3ec497adae2 +0 -0
  15. data/test/dummy/tmp/cache/assets/development/sprockets/09ed1ef41f7cd9d17777b1411359e566 +0 -0
  16. data/test/dummy/tmp/cache/assets/development/sprockets/1344657b8f5d1906efcbafe0e22c17cc +0 -0
  17. data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  18. data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  19. data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  20. data/test/dummy/tmp/cache/assets/development/sprockets/5acaff767402e80bb9961b92c8bc3dda +0 -0
  21. data/test/dummy/tmp/cache/assets/development/sprockets/6d07f71bc133b650e297569a7e19174e +0 -0
  22. data/test/dummy/tmp/cache/assets/development/sprockets/7e3d3b1b8b95a568bcb68e2f29436ca3 +0 -0
  23. data/test/dummy/tmp/cache/assets/development/sprockets/7f0315cb615b6ab601fd42d59b8afde9 +0 -0
  24. data/test/dummy/tmp/cache/assets/development/sprockets/8861585cc3fb654bbf27d60c86aba449 +0 -0
  25. data/test/dummy/tmp/cache/assets/development/sprockets/9c500634b58fe570e801dd477f2f9769 +0 -0
  26. data/test/dummy/tmp/cache/assets/development/sprockets/9e70666db09ef523b119125cc9eb73c5 +0 -0
  27. data/test/dummy/tmp/cache/assets/development/sprockets/a58c29f74df199333ef9f066c7b436bd +0 -0
  28. data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  29. data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  30. data/test/dummy/tmp/cache/assets/development/sprockets/d7cb110ec211a8c4ef021e93a2f976f7 +0 -0
  31. data/test/dummy/tmp/cache/assets/development/sprockets/e303fbe4b122fbe771c62af737c0e1b5 +0 -0
  32. data/test/dummy/tmp/cache/assets/development/sprockets/e96855d0fc8137ba701522baf08faf33 +0 -0
  33. data/test/dummy/tmp/cache/assets/development/sprockets/f39692dced32f5d36d10caed783739ee +0 -0
  34. data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
@@ -1,15 +1,811 @@
1
+ ----------------------------------------------------------------------------
2
+ SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_params_from_env
3
+ ----------------------------------------------------------------------------
4
+ -----------------------------------------------------------------------------------------
5
+ SimplificatorInfrastructure::ErrorSummaryTest: test_determines_status_code_from_exception
6
+ -----------------------------------------------------------------------------------------
7
+ ----------------------------------------------------------------------
8
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_path
9
+ ----------------------------------------------------------------------
10
+ ---------------------------------------------------------------------------------------
11
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
12
+ ---------------------------------------------------------------------------------------
13
+ -----------------------------------------------------------------------------------------------------------------
14
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_use_default_if_not_in_path_or_params_or_accept_header
15
+ -----------------------------------------------------------------------------------------------------------------
16
+ --------------------------------------------------------------------------------------------------------
17
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_accept_header_if_not_in_path_or_params
18
+ --------------------------------------------------------------------------------------------------------
19
+ -------------------------------------------------------------------------------
20
+ SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_exception_from_env
21
+ -------------------------------------------------------------------------------
1
22
  -------------------------------------------
2
23
  SimplificatorInfrastructureTest: test_truth
3
24
  -------------------------------------------
25
+ -------------------------------------------------------------------------------
26
+ SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_exception_from_env
27
+ -------------------------------------------------------------------------------
28
+ -----------------------------------------------------------------------------------------
29
+ SimplificatorInfrastructure::ErrorSummaryTest: test_determines_status_code_from_exception
30
+ -----------------------------------------------------------------------------------------
31
+ ----------------------------------------------------------------------------
32
+ SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_params_from_env
33
+ ----------------------------------------------------------------------------
34
+ --------------------------------------------------------------------------------------------------------
35
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_accept_header_if_not_in_path_or_params
36
+ --------------------------------------------------------------------------------------------------------
37
+ -----------------------------------------------------------------------------------------------------------------
38
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_use_default_if_not_in_path_or_params_or_accept_header
39
+ -----------------------------------------------------------------------------------------------------------------
40
+ ----------------------------------------------------------------------
41
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_path
42
+ ----------------------------------------------------------------------
43
+ ---------------------------------------------------------------------------------------
44
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
45
+ ---------------------------------------------------------------------------------------
46
+ ---------------------------
47
+ FoosControllerTest: test_la
48
+ ---------------------------
4
49
  -------------------------------------------
5
50
  SimplificatorInfrastructureTest: test_truth
6
51
  -------------------------------------------
7
52
  -------------------------------------------
8
53
  SimplificatorInfrastructureTest: test_truth
9
54
  -------------------------------------------
55
+ ----------------------------------------------------------------------------
56
+ SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_params_from_env
57
+ ----------------------------------------------------------------------------
58
+ -------------------------------------------------------------------------------
59
+ SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_exception_from_env
60
+ -------------------------------------------------------------------------------
61
+ -----------------------------------------------------------------------------------------
62
+ SimplificatorInfrastructure::ErrorSummaryTest: test_determines_status_code_from_exception
63
+ -----------------------------------------------------------------------------------------
64
+ -----------------------------------------------------------------------------------------------------------------
65
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_use_default_if_not_in_path_or_params_or_accept_header
66
+ -----------------------------------------------------------------------------------------------------------------
67
+ ----------------------------------------------------------------------
68
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_path
69
+ ----------------------------------------------------------------------
70
+ ---------------------------------------------------------------------------------------
71
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
72
+ ---------------------------------------------------------------------------------------
73
+ --------------------------------------------------------------------------------------------------------
74
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_accept_header_if_not_in_path_or_params
75
+ --------------------------------------------------------------------------------------------------------
76
+ ---------------------------
77
+ FoosControllerTest: test_la
78
+ ---------------------------
79
+ ------------------------------------
80
+ ErrorPreviewsControllerTest: test_la
81
+ ------------------------------------
82
+ -------------------------------------------------------------------------------
83
+ SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_exception_from_env
84
+ -------------------------------------------------------------------------------
85
+ --------------------------------------------------------------------------------------------------------
86
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_accept_header_if_not_in_path_or_params
87
+ --------------------------------------------------------------------------------------------------------
88
+ ----------------------------------------------------------------------
89
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_path
90
+ ----------------------------------------------------------------------
91
+ -----------------------------------------------------------------------------------------
92
+ SimplificatorInfrastructure::ErrorSummaryTest: test_determines_status_code_from_exception
93
+ -----------------------------------------------------------------------------------------
94
+ -----------------------------------------------------------------------------------------------------------------
95
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_use_default_if_not_in_path_or_params_or_accept_header
96
+ -----------------------------------------------------------------------------------------------------------------
97
+ ----------------------------------------------------------------------------
98
+ SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_params_from_env
99
+ ----------------------------------------------------------------------------
100
+ ---------------------------------------------------------------------------------------
101
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
102
+ ---------------------------------------------------------------------------------------
10
103
  -------------------------------------------
11
104
  SimplificatorInfrastructureTest: test_truth
12
105
  -------------------------------------------
13
106
  -------------------------------------------
14
107
  SimplificatorInfrastructureTest: test_truth
15
108
  -------------------------------------------
109
+ -----------------------------------------------------------------------------------------
110
+ SimplificatorInfrastructure::ErrorSummaryTest: test_determines_status_code_from_exception
111
+ -----------------------------------------------------------------------------------------
112
+ -------------------------------------------------------------------------------
113
+ SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_exception_from_env
114
+ -------------------------------------------------------------------------------
115
+ ----------------------------------------------------------------------------
116
+ SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_params_from_env
117
+ ----------------------------------------------------------------------------
118
+ --------------------------------------------------------------------------------------------------------
119
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_accept_header_if_not_in_path_or_params
120
+ --------------------------------------------------------------------------------------------------------
121
+ ---------------------------------------------------------------------------------------
122
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
123
+ ---------------------------------------------------------------------------------------
124
+ ----------------------------------------------------------------------
125
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_path
126
+ ----------------------------------------------------------------------
127
+ -----------------------------------------------------------------------------------------------------------------
128
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_use_default_if_not_in_path_or_params_or_accept_header
129
+ -----------------------------------------------------------------------------------------------------------------
130
+ ------------------------------------
131
+ ErrorPreviewsControllerTest: test_la
132
+ ------------------------------------
133
+ -------------------------------------------------------------------------------
134
+ SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_exception_from_env
135
+ -------------------------------------------------------------------------------
136
+ -----------------------------------------------------------------------------------------------------------------
137
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_use_default_if_not_in_path_or_params_or_accept_header
138
+ -----------------------------------------------------------------------------------------------------------------
139
+ --------------------------------------------------------------------------------------------------------
140
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_accept_header_if_not_in_path_or_params
141
+ --------------------------------------------------------------------------------------------------------
142
+ -----------------------------------------------------------------------------------------
143
+ SimplificatorInfrastructure::ErrorSummaryTest: test_determines_status_code_from_exception
144
+ -----------------------------------------------------------------------------------------
145
+ ---------------------------------------------------------------------------------------
146
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
147
+ ---------------------------------------------------------------------------------------
148
+ ----------------------------------------------------------------------
149
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_path
150
+ ----------------------------------------------------------------------
151
+ ----------------------------------------------------------------------------
152
+ SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_params_from_env
153
+ ----------------------------------------------------------------------------
154
+ -------------------------------------------
155
+ SimplificatorInfrastructureTest: test_truth
156
+ -------------------------------------------
157
+ ------------------------------------
158
+ ErrorPreviewsControllerTest: test_la
159
+ ------------------------------------
160
+ ------------------------------------
161
+ ErrorPreviewsControllerTest: test_la
162
+ ------------------------------------
163
+ Processing by ErrorPreviewsController#preview as HTML
164
+ Completed 500 Internal Server Error in 0ms
165
+ --------------------------------------------------------------------------------------------------------
166
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_accept_header_if_not_in_path_or_params
167
+ --------------------------------------------------------------------------------------------------------
168
+ ---------------------------------------------------------------------------------------
169
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
170
+ ---------------------------------------------------------------------------------------
171
+ ----------------------------------------------------------------------
172
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_path
173
+ ----------------------------------------------------------------------
174
+ -----------------------------------------------------------------------------------------
175
+ SimplificatorInfrastructure::ErrorSummaryTest: test_determines_status_code_from_exception
176
+ -----------------------------------------------------------------------------------------
177
+ ----------------------------------------------------------------------------
178
+ SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_params_from_env
179
+ ----------------------------------------------------------------------------
180
+ -----------------------------------------------------------------------------------------------------------------
181
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_use_default_if_not_in_path_or_params_or_accept_header
182
+ -----------------------------------------------------------------------------------------------------------------
183
+ -------------------------------------------------------------------------------
184
+ SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_exception_from_env
185
+ -------------------------------------------------------------------------------
186
+ -------------------------------------------
187
+ SimplificatorInfrastructureTest: test_truth
188
+ -------------------------------------------
189
+ Started GET "/error_previews" for ::1 at 2015-01-19 11:14:42 +0100
190
+ Processing by ErrorPreviewsController#index as HTML
191
+ Rendered error_previews/index.html.erb within layouts/application (1.1ms)
192
+ Completed 200 OK in 17ms (Views: 16.9ms)
193
+ Started GET "/assets/application.css" for ::1 at 2015-01-19 11:14:42 +0100
194
+ Started GET "/assets/application.js" for ::1 at 2015-01-19 11:14:42 +0100
195
+ Started GET "/error_previews/preview?code=404&locale=en" for ::1 at 2015-01-19 11:14:44 +0100
196
+ Processing by ErrorPreviewsController#preview as HTML
197
+ Parameters: {"code"=>"404", "locale"=>"en"}
198
+ Completed 404 Not Found in 0ms
199
+ Started GET "/error_previews/preview?code=500&locale=en" for ::1 at 2015-01-19 11:14:49 +0100
200
+ Processing by ErrorPreviewsController#preview as HTML
201
+ Parameters: {"code"=>"500", "locale"=>"en"}
202
+ Completed 500 Internal Server Error in 0ms
203
+ Started GET "/error_previews/preview?code=500&locale=en" for ::1 at 2015-01-19 11:16:59 +0100
204
+ Processing by ErrorPreviewsController#preview as HTML
205
+ Parameters: {"code"=>"500", "locale"=>"en"}
206
+ Completed 500 Internal Server Error in 0ms
207
+ Started GET "/error_previews/preview?code=500&locale=en" for ::1 at 2015-01-19 11:17:00 +0100
208
+ Processing by ErrorPreviewsController#preview as HTML
209
+ Parameters: {"code"=>"500", "locale"=>"en"}
210
+ Completed 500 Internal Server Error in 0ms
211
+ Started GET "/error_previews/preview?code=500&locale=en" for ::1 at 2015-01-19 11:17:00 +0100
212
+ Processing by ErrorPreviewsController#preview as HTML
213
+ Parameters: {"code"=>"500", "locale"=>"en"}
214
+ Completed 500 Internal Server Error in 0ms
215
+ Started GET "/error_previews/preview?code=500&locale=en" for ::1 at 2015-01-19 11:18:34 +0100
216
+ Processing by ErrorPreviewsController#preview as HTML
217
+ Parameters: {"code"=>"500", "locale"=>"en"}
218
+ Completed 500 Internal Server Error in 0ms
219
+
220
+ RuntimeError (some generic exception):
221
+ app/controllers/error_previews_controller.rb:8:in `preview'
222
+
223
+
224
+ Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
225
+ Parameters: {"code"=>"500", "locale"=>"en"}
226
+ Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/generic_error.html.erb within layouts/simplificator_infrastructure/errors (5.9ms)
227
+ Completed 500 Internal Server Error in 26ms (Views: 22.4ms)
228
+ Started GET "/assets/simplificator_infrastructure/application.css" for ::1 at 2015-01-19 11:18:35 +0100
229
+ Started GET "/assets/simplificator_infrastructure/application.js" for ::1 at 2015-01-19 11:18:35 +0100
230
+ Started GET "/assets/simplificator_infrastructure/errors/error_generic.png" for ::1 at 2015-01-19 11:18:35 +0100
231
+ Started GET "/assets/simplificator_infrastructure/errors/logo.png" for ::1 at 2015-01-19 11:18:35 +0100
232
+ Started GET "/error_previews/preview?code=500&locale=en" for ::1 at 2015-01-19 11:20:09 +0100
233
+ Processing by ErrorPreviewsController#preview as HTML
234
+ Parameters: {"code"=>"500", "locale"=>"en"}
235
+ Completed 500 Internal Server Error in 0ms
236
+ Started GET "/error_previews/preview?code=500&locale=en" for ::1 at 2015-01-19 11:20:34 +0100
237
+ Processing by ErrorPreviewsController#preview as HTML
238
+ Parameters: {"code"=>"500", "locale"=>"en"}
239
+ Completed 500 Internal Server Error in 0ms
240
+ Started GET "/error_previews/preview?code=500&locale=en" for ::1 at 2015-01-19 11:20:35 +0100
241
+ Processing by ErrorPreviewsController#preview as HTML
242
+ Parameters: {"code"=>"500", "locale"=>"en"}
243
+ Completed 500 Internal Server Error in 0ms
244
+ Started GET "/error_previews/preview?code=500&locale=en" for ::1 at 2015-01-19 11:20:36 +0100
245
+ Processing by ErrorPreviewsController#preview as HTML
246
+ Parameters: {"code"=>"500", "locale"=>"en"}
247
+ Completed 500 Internal Server Error in 0ms
248
+ Started GET "/error_previews/preview?code=500&locale=en" for ::1 at 2015-01-19 11:20:36 +0100
249
+ Processing by ErrorPreviewsController#preview as HTML
250
+ Parameters: {"code"=>"500", "locale"=>"en"}
251
+ Completed 500 Internal Server Error in 0ms
252
+ Started GET "/error_previews/preview?code=500&locale=en" for ::1 at 2015-01-19 11:20:36 +0100
253
+ Processing by ErrorPreviewsController#preview as HTML
254
+ Parameters: {"code"=>"500", "locale"=>"en"}
255
+ Completed 500 Internal Server Error in 0ms
256
+ Started GET "/error_previews/preview?code=500&locale=en" for ::1 at 2015-01-19 11:20:44 +0100
257
+ Processing by ErrorPreviewsController#preview as HTML
258
+ Parameters: {"code"=>"500", "locale"=>"en"}
259
+ Completed 500 Internal Server Error in 0ms
260
+ Started GET "/error_previews/preview?code=500&locale=en" for ::1 at 2015-01-19 11:21:08 +0100
261
+ Processing by ErrorPreviewsController#preview as HTML
262
+ Parameters: {"code"=>"500", "locale"=>"en"}
263
+ Completed 500 Internal Server Error in 0ms
264
+
265
+ RuntimeError (some generic exception):
266
+ app/controllers/error_previews_controller.rb:8:in `preview'
267
+
268
+
269
+ Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
270
+ Parameters: {"code"=>"500", "locale"=>"en"}
271
+ Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/generic_error.html.erb within layouts/simplificator_infrastructure/errors (3.0ms)
272
+ Completed 500 Internal Server Error in 18ms (Views: 14.1ms)
273
+ Started GET "/assets/simplificator_infrastructure/application.css" for ::1 at 2015-01-19 11:21:08 +0100
274
+ Started GET "/assets/simplificator_infrastructure/application.js" for ::1 at 2015-01-19 11:21:08 +0100
275
+ Started GET "/assets/simplificator_infrastructure/errors/error_generic.png" for ::1 at 2015-01-19 11:21:08 +0100
276
+ Started GET "/assets/simplificator_infrastructure/errors/logo.png" for ::1 at 2015-01-19 11:21:08 +0100
277
+ Started GET "/error_previews/preview?code=500&locale=en" for ::1 at 2015-01-19 11:21:28 +0100
278
+ Processing by ErrorPreviewsController#preview as HTML
279
+ Parameters: {"code"=>"500", "locale"=>"en"}
280
+ Completed 500 Internal Server Error in 0ms
281
+
282
+ RuntimeError (some generic exception):
283
+ app/controllers/error_previews_controller.rb:8:in `preview'
284
+
285
+
286
+ Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
287
+ Parameters: {"code"=>"500", "locale"=>"en"}
288
+ Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/generic_error.html.erb within layouts/simplificator_infrastructure/errors (3.3ms)
289
+ Completed 500 Internal Server Error in 21ms (Views: 15.1ms)
290
+ Started GET "/assets/simplificator_infrastructure/application.css" for ::1 at 2015-01-19 11:21:28 +0100
291
+ Started GET "/assets/simplificator_infrastructure/errors/error_generic.png" for ::1 at 2015-01-19 11:21:28 +0100
292
+ Started GET "/assets/simplificator_infrastructure/application.js" for ::1 at 2015-01-19 11:21:28 +0100
293
+ Started GET "/assets/simplificator_infrastructure/errors/logo.png" for ::1 at 2015-01-19 11:21:28 +0100
294
+ Started GET "/error_previews/preview?code=500&locale=en" for ::1 at 2015-01-19 11:21:28 +0100
295
+ Processing by ErrorPreviewsController#preview as HTML
296
+ Parameters: {"code"=>"500", "locale"=>"en"}
297
+ Completed 500 Internal Server Error in 0ms
298
+
299
+ RuntimeError (some generic exception):
300
+ app/controllers/error_previews_controller.rb:8:in `preview'
301
+
302
+
303
+ Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
304
+ Parameters: {"code"=>"500", "locale"=>"en"}
305
+ Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/generic_error.html.erb within layouts/simplificator_infrastructure/errors (0.3ms)
306
+ Completed 500 Internal Server Error in 1ms (Views: 0.9ms)
307
+ Started GET "/assets/simplificator_infrastructure/application.css" for ::1 at 2015-01-19 11:21:28 +0100
308
+ Started GET "/assets/simplificator_infrastructure/application.js" for ::1 at 2015-01-19 11:21:28 +0100
309
+ Started GET "/assets/simplificator_infrastructure/errors/error_generic.png" for ::1 at 2015-01-19 11:21:28 +0100
310
+ Started GET "/assets/simplificator_infrastructure/errors/logo.png" for ::1 at 2015-01-19 11:21:28 +0100
311
+ ------------------------------------
312
+ ErrorPreviewsControllerTest: test_la
313
+ ------------------------------------
314
+ Processing by ErrorPreviewsController#preview as HTML
315
+ Completed 500 Internal Server Error in 0ms
316
+ -------------------------------------------
317
+ SimplificatorInfrastructureTest: test_truth
318
+ -------------------------------------------
319
+ ----------------------------------------------------------------------------
320
+ SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_params_from_env
321
+ ----------------------------------------------------------------------------
322
+ --------------------------------------------------------------------------------------------------------
323
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_accept_header_if_not_in_path_or_params
324
+ --------------------------------------------------------------------------------------------------------
325
+ -------------------------------------------------------------------------------
326
+ SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_exception_from_env
327
+ -------------------------------------------------------------------------------
328
+ ----------------------------------------------------------------------
329
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_path
330
+ ----------------------------------------------------------------------
331
+ -----------------------------------------------------------------------------------------------------------------
332
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_use_default_if_not_in_path_or_params_or_accept_header
333
+ -----------------------------------------------------------------------------------------------------------------
334
+ ---------------------------------------------------------------------------------------
335
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
336
+ ---------------------------------------------------------------------------------------
337
+ -----------------------------------------------------------------------------------------
338
+ SimplificatorInfrastructure::ErrorSummaryTest: test_determines_status_code_from_exception
339
+ -----------------------------------------------------------------------------------------
340
+ Started GET "/error_previews/preview?code=500&locale=en" for ::1 at 2015-01-19 11:22:30 +0100
341
+ Processing by ErrorPreviewsController#preview as HTML
342
+ Parameters: {"code"=>"500", "locale"=>"en"}
343
+ Completed 500 Internal Server Error in 0ms
344
+
345
+ RuntimeError (some generic exception):
346
+ app/controllers/error_previews_controller.rb:8:in `preview'
347
+
348
+
349
+ Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
350
+ Parameters: {"code"=>"500", "locale"=>"en"}
351
+ Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/generic_error.html.erb within layouts/simplificator_infrastructure/errors (3.1ms)
352
+ Completed 500 Internal Server Error in 17ms (Views: 13.4ms)
353
+ Started GET "/assets/simplificator_infrastructure/application.css" for ::1 at 2015-01-19 11:22:31 +0100
354
+ Started GET "/assets/simplificator_infrastructure/application.js" for ::1 at 2015-01-19 11:22:31 +0100
355
+ Started GET "/assets/simplificator_infrastructure/errors/error_generic.png" for ::1 at 2015-01-19 11:22:31 +0100
356
+ Started GET "/assets/simplificator_infrastructure/errors/logo.png" for ::1 at 2015-01-19 11:22:31 +0100
357
+ Started GET "/error_previews/preview?code=404&locale=en" for ::1 at 2015-01-19 11:22:36 +0100
358
+ Processing by ErrorPreviewsController#preview as HTML
359
+ Parameters: {"code"=>"404", "locale"=>"en"}
360
+ Completed 404 Not Found in 0ms
361
+
362
+ ActionController::RoutingError (Was asked to raise generate a 404):
363
+ app/controllers/error_previews_controller.rb:9:in `preview'
364
+
365
+
366
+ Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
367
+ Parameters: {"code"=>"404", "locale"=>"en"}
368
+ Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (7.6ms)
369
+ Completed 404 Not Found in 16ms (Views: 8.3ms)
370
+ Started GET "/assets/simplificator_infrastructure/application.css" for ::1 at 2015-01-19 11:22:36 +0100
371
+ Started GET "/assets/simplificator_infrastructure/application.js" for ::1 at 2015-01-19 11:22:36 +0100
372
+ Started GET "/assets/simplificator_infrastructure/errors/logo.png" for ::1 at 2015-01-19 11:22:36 +0100
373
+ Started GET "/assets/simplificator_infrastructure/errors/error_404.png" for ::1 at 2015-01-19 11:22:36 +0100
374
+ ----------------------------------------------------------------------------
375
+ SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_params_from_env
376
+ ----------------------------------------------------------------------------
377
+ -----------------------------------------------------------------------------------------------------------------
378
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_use_default_if_not_in_path_or_params_or_accept_header
379
+ -----------------------------------------------------------------------------------------------------------------
380
+ -------------------------------------------------------------------------------
381
+ SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_exception_from_env
382
+ -------------------------------------------------------------------------------
383
+ ----------------------------------------------------------------------
384
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_path
385
+ ----------------------------------------------------------------------
386
+ ---------------------------------------------------------------------------------------
387
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
388
+ ---------------------------------------------------------------------------------------
389
+ --------------------------------------------------------------------------------------------------------
390
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_accept_header_if_not_in_path_or_params
391
+ --------------------------------------------------------------------------------------------------------
392
+ -----------------------------------------------------------------------------------------
393
+ SimplificatorInfrastructure::ErrorSummaryTest: test_determines_status_code_from_exception
394
+ -----------------------------------------------------------------------------------------
395
+ -------------------------------------------
396
+ SimplificatorInfrastructureTest: test_truth
397
+ -------------------------------------------
398
+ ------------------------------------
399
+ ErrorPreviewsControllerTest: test_la
400
+ ------------------------------------
401
+ Processing by ErrorPreviewsController#preview as HTML
402
+ Completed 500 Internal Server Error in 0ms
403
+ -------------------------------------------
404
+ SimplificatorInfrastructureTest: test_truth
405
+ -------------------------------------------
406
+ -----------------------------------------------------------------------------------------
407
+ SimplificatorInfrastructure::ErrorSummaryTest: test_determines_status_code_from_exception
408
+ -----------------------------------------------------------------------------------------
409
+ -----------------------------------------------------------------------------------------------------------------
410
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_use_default_if_not_in_path_or_params_or_accept_header
411
+ -----------------------------------------------------------------------------------------------------------------
412
+ --------------------------------------------------------------------------------------------------------
413
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_accept_header_if_not_in_path_or_params
414
+ --------------------------------------------------------------------------------------------------------
415
+ ---------------------------------------------------------------------------------------
416
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
417
+ ---------------------------------------------------------------------------------------
418
+ -------------------------------------------------------------------------------
419
+ SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_exception_from_env
420
+ -------------------------------------------------------------------------------
421
+ ----------------------------------------------------------------------------
422
+ SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_params_from_env
423
+ ----------------------------------------------------------------------------
424
+ ----------------------------------------------------------------------
425
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_path
426
+ ----------------------------------------------------------------------
427
+ ------------------------------------
428
+ ErrorPreviewsControllerTest: test_la
429
+ ------------------------------------
430
+ Started GET "/exception_previews/preview" for 127.0.0.1 at 2015-01-19 11:24:50 +0100
431
+
432
+ ActionController::RoutingError (No route matches [GET] "/exception_previews/preview"):
433
+ test/controllers/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
434
+
435
+
436
+ Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
437
+ Completed 500 Internal Server Error in 0ms
438
+ --------------------------------------------------------------------------------------------------------
439
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_accept_header_if_not_in_path_or_params
440
+ --------------------------------------------------------------------------------------------------------
441
+ -----------------------------------------------------------------------------------------------------------------
442
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_use_default_if_not_in_path_or_params_or_accept_header
443
+ -----------------------------------------------------------------------------------------------------------------
444
+ -----------------------------------------------------------------------------------------
445
+ SimplificatorInfrastructure::ErrorSummaryTest: test_determines_status_code_from_exception
446
+ -----------------------------------------------------------------------------------------
447
+ ----------------------------------------------------------------------
448
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_path
449
+ ----------------------------------------------------------------------
450
+ ----------------------------------------------------------------------------
451
+ SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_params_from_env
452
+ ----------------------------------------------------------------------------
453
+ -------------------------------------------------------------------------------
454
+ SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_exception_from_env
455
+ -------------------------------------------------------------------------------
456
+ ---------------------------------------------------------------------------------------
457
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
458
+ ---------------------------------------------------------------------------------------
459
+ -------------------------------------------
460
+ SimplificatorInfrastructureTest: test_truth
461
+ -------------------------------------------
462
+ ------------------------------------
463
+ ErrorPreviewsControllerTest: test_la
464
+ ------------------------------------
465
+ Started GET "/exception_previews/preview" for 127.0.0.1 at 2015-01-19 11:25:15 +0100
466
+
467
+ ActionController::RoutingError (No route matches [GET] "/exception_previews/preview"):
468
+ test/controllers/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
469
+
470
+
471
+ Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
472
+ Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (6.4ms)
473
+ Completed 404 Not Found in 17ms (Views: 16.1ms)
474
+ ------------------------------------
475
+ ErrorPreviewsControllerTest: test_la
476
+ ------------------------------------
477
+ Started GET "/exception_previews/preview" for 127.0.0.1 at 2015-01-19 11:26:03 +0100
478
+
479
+ ActionController::RoutingError (No route matches [GET] "/exception_previews/preview"):
480
+ test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
481
+
482
+
483
+ Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
484
+ Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (3.1ms)
485
+ Completed 404 Not Found in 17ms (Views: 12.9ms)
486
+ ---------------------------------------------------------------------------------------
487
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
488
+ ---------------------------------------------------------------------------------------
489
+ ----------------------------------------------------------------------
490
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_path
491
+ ----------------------------------------------------------------------
492
+ -------------------------------------------------------------------------------
493
+ SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_exception_from_env
494
+ -------------------------------------------------------------------------------
495
+ -----------------------------------------------------------------------------------------
496
+ SimplificatorInfrastructure::ErrorSummaryTest: test_determines_status_code_from_exception
497
+ -----------------------------------------------------------------------------------------
498
+ ----------------------------------------------------------------------------
499
+ SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_params_from_env
500
+ ----------------------------------------------------------------------------
501
+ -----------------------------------------------------------------------------------------------------------------
502
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_use_default_if_not_in_path_or_params_or_accept_header
503
+ -----------------------------------------------------------------------------------------------------------------
504
+ --------------------------------------------------------------------------------------------------------
505
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_accept_header_if_not_in_path_or_params
506
+ --------------------------------------------------------------------------------------------------------
507
+ -------------------------------------------
508
+ SimplificatorInfrastructureTest: test_truth
509
+ -------------------------------------------
510
+ -------------------------------------------
511
+ SimplificatorInfrastructureTest: test_truth
512
+ -------------------------------------------
513
+ ------------------------------------
514
+ ErrorPreviewsControllerTest: test_la
515
+ ------------------------------------
516
+ Started GET "/exception_previews/preview?code=456" for 127.0.0.1 at 2015-01-19 11:26:20 +0100
517
+
518
+ ActionController::RoutingError (No route matches [GET] "/exception_previews/preview"):
519
+ test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
520
+
521
+
522
+ Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
523
+ Parameters: {"code"=>"456"}
524
+ Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (3.2ms)
525
+ Completed 404 Not Found in 18ms (Views: 13.5ms)
526
+ -----------------------------------------------------------------------------------------
527
+ SimplificatorInfrastructure::ErrorSummaryTest: test_determines_status_code_from_exception
528
+ -----------------------------------------------------------------------------------------
529
+ ----------------------------------------------------------------------
530
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_path
531
+ ----------------------------------------------------------------------
532
+ --------------------------------------------------------------------------------------------------------
533
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_accept_header_if_not_in_path_or_params
534
+ --------------------------------------------------------------------------------------------------------
535
+ -----------------------------------------------------------------------------------------------------------------
536
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_use_default_if_not_in_path_or_params_or_accept_header
537
+ -----------------------------------------------------------------------------------------------------------------
538
+ -------------------------------------------------------------------------------
539
+ SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_exception_from_env
540
+ -------------------------------------------------------------------------------
541
+ ---------------------------------------------------------------------------------------
542
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
543
+ ---------------------------------------------------------------------------------------
544
+ ----------------------------------------------------------------------------
545
+ SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_params_from_env
546
+ ----------------------------------------------------------------------------
547
+ ------------------------------------
548
+ ErrorPreviewsControllerTest: test_la
549
+ ------------------------------------
550
+ Started GET "/error_previews/preview?code=456" for 127.0.0.1 at 2015-01-19 11:26:45 +0100
551
+ Processing by ErrorPreviewsController#preview as HTML
552
+ Parameters: {"code"=>"456"}
553
+ Completed 500 Internal Server Error in 0ms
554
+
555
+ RuntimeError (Unhandled code 456 specified: raise StandardError):
556
+ app/controllers/error_previews_controller.rb:11:in `preview'
557
+ test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
558
+
559
+
560
+ Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
561
+ Parameters: {"code"=>"456"}
562
+ Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/generic_error.html.erb within layouts/simplificator_infrastructure/errors (3.4ms)
563
+ Completed 500 Internal Server Error in 19ms (Views: 14.7ms)
564
+ --------------------------------------------------------------------------------------------------------
565
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_accept_header_if_not_in_path_or_params
566
+ --------------------------------------------------------------------------------------------------------
567
+ ----------------------------------------------------------------------------
568
+ SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_params_from_env
569
+ ----------------------------------------------------------------------------
570
+ ----------------------------------------------------------------------
571
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_path
572
+ ----------------------------------------------------------------------
573
+ -------------------------------------------------------------------------------
574
+ SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_exception_from_env
575
+ -------------------------------------------------------------------------------
576
+ -----------------------------------------------------------------------------------------------------------------
577
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_use_default_if_not_in_path_or_params_or_accept_header
578
+ -----------------------------------------------------------------------------------------------------------------
579
+ ---------------------------------------------------------------------------------------
580
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
581
+ ---------------------------------------------------------------------------------------
582
+ -----------------------------------------------------------------------------------------
583
+ SimplificatorInfrastructure::ErrorSummaryTest: test_determines_status_code_from_exception
584
+ -----------------------------------------------------------------------------------------
585
+ -------------------------------------------
586
+ SimplificatorInfrastructureTest: test_truth
587
+ -------------------------------------------
588
+ -------------------------------------------------------------------------------
589
+ SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_exception_from_env
590
+ -------------------------------------------------------------------------------
591
+ -----------------------------------------------------------------------------------------------------------------
592
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_use_default_if_not_in_path_or_params_or_accept_header
593
+ -----------------------------------------------------------------------------------------------------------------
594
+ ---------------------------------------------------------------------------------------
595
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
596
+ ---------------------------------------------------------------------------------------
597
+ --------------------------------------------------------------------------------------------------------
598
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_accept_header_if_not_in_path_or_params
599
+ --------------------------------------------------------------------------------------------------------
600
+ ----------------------------------------------------------------------------
601
+ SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_params_from_env
602
+ ----------------------------------------------------------------------------
603
+ ----------------------------------------------------------------------
604
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_path
605
+ ----------------------------------------------------------------------
606
+ -----------------------------------------------------------------------------------------
607
+ SimplificatorInfrastructure::ErrorSummaryTest: test_determines_status_code_from_exception
608
+ -----------------------------------------------------------------------------------------
609
+ -------------------------------------------
610
+ SimplificatorInfrastructureTest: test_truth
611
+ -------------------------------------------
612
+ -------------------------------------
613
+ ErrorPreviewsControllerTest: test_500
614
+ -------------------------------------
615
+ Started GET "/error_previews/preview" for 127.0.0.1 at 2015-01-19 11:27:34 +0100
616
+ Processing by ErrorPreviewsController#preview as HTML
617
+ Completed 500 Internal Server Error in 0ms
618
+
619
+ RuntimeError (some generic exception):
620
+ app/controllers/error_previews_controller.rb:8:in `preview'
621
+ test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
622
+
623
+
624
+ Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
625
+ Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/generic_error.html.erb within layouts/simplificator_infrastructure/errors (6.5ms)
626
+ Completed 500 Internal Server Error in 18ms (Views: 17.1ms)
627
+ -------------------------------------
628
+ ErrorPreviewsControllerTest: test_404
629
+ -------------------------------------
630
+ Started GET "/error_previews/preview?code=404" for 127.0.0.1 at 2015-01-19 11:27:34 +0100
631
+ Processing by ErrorPreviewsController#preview as HTML
632
+ Parameters: {"code"=>"404"}
633
+ Completed 404 Not Found in 0ms
634
+
635
+ ActionController::RoutingError (Was asked to raise generate a 404):
636
+ app/controllers/error_previews_controller.rb:9:in `preview'
637
+ test/integration/error_previews_controller_test.rb:10:in `block in <class:ErrorPreviewsControllerTest>'
638
+
639
+
640
+ Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
641
+ Parameters: {"code"=>"404"}
642
+ Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (1.3ms)
643
+ Completed 404 Not Found in 3ms (Views: 1.9ms)
644
+ -------------------------------------
645
+ ErrorPreviewsControllerTest: test_404
646
+ -------------------------------------
647
+ Started GET "/error_previews/preview?code=404" for 127.0.0.1 at 2015-01-19 11:28:26 +0100
648
+ Processing by ErrorPreviewsController#preview as HTML
649
+ Parameters: {"code"=>"404"}
650
+ Completed 404 Not Found in 0ms
651
+
652
+ ActionController::RoutingError (Was asked to raise generate a 404):
653
+ app/controllers/error_previews_controller.rb:9:in `preview'
654
+ test/integration/error_previews_controller_test.rb:10:in `block in <class:ErrorPreviewsControllerTest>'
655
+
656
+
657
+ Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
658
+ Parameters: {"code"=>"404"}
659
+ Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (3.2ms)
660
+ Completed 404 Not Found in 20ms (Views: 15.5ms)
661
+ -------------------------------------
662
+ ErrorPreviewsControllerTest: test_500
663
+ -------------------------------------
664
+ Started GET "/error_previews/preview" for 127.0.0.1 at 2015-01-19 11:28:26 +0100
665
+ Processing by ErrorPreviewsController#preview as HTML
666
+ Completed 500 Internal Server Error in 0ms
667
+
668
+ RuntimeError (some generic exception):
669
+ app/controllers/error_previews_controller.rb:8:in `preview'
670
+ test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
671
+
672
+
673
+ Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
674
+ Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/generic_error.html.erb within layouts/simplificator_infrastructure/errors (1.4ms)
675
+ Completed 500 Internal Server Error in 3ms (Views: 2.4ms)
676
+ -------------------------------------------
677
+ SimplificatorInfrastructureTest: test_truth
678
+ -------------------------------------------
679
+ --------------------------------------------------------------------------------------------------------
680
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_accept_header_if_not_in_path_or_params
681
+ --------------------------------------------------------------------------------------------------------
682
+ ----------------------------------------------------------------------------
683
+ SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_params_from_env
684
+ ----------------------------------------------------------------------------
685
+ ----------------------------------------------------------------------
686
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_path
687
+ ----------------------------------------------------------------------
688
+ -----------------------------------------------------------------------------------------------------------------
689
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_use_default_if_not_in_path_or_params_or_accept_header
690
+ -----------------------------------------------------------------------------------------------------------------
691
+ -----------------------------------------------------------------------------------------
692
+ SimplificatorInfrastructure::ErrorSummaryTest: test_determines_status_code_from_exception
693
+ -----------------------------------------------------------------------------------------
694
+ -------------------------------------------------------------------------------
695
+ SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_exception_from_env
696
+ -------------------------------------------------------------------------------
697
+ ---------------------------------------------------------------------------------------
698
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
699
+ ---------------------------------------------------------------------------------------
700
+ -------------------------------------------
701
+ SimplificatorInfrastructureTest: test_truth
702
+ -------------------------------------------
703
+ -------------------------------------
704
+ ErrorPreviewsControllerTest: test_404
705
+ -------------------------------------
706
+ Started GET "/error_previews/preview?code=404" for 127.0.0.1 at 2015-01-19 11:30:41 +0100
707
+ Processing by ErrorPreviewsController#preview as HTML
708
+ Parameters: {"code"=>"404"}
709
+ Completed 404 Not Found in 0ms
710
+
711
+ ActionController::RoutingError (Was asked to raise generate a 404):
712
+ app/controllers/error_previews_controller.rb:9:in `preview'
713
+ test/integration/error_previews_controller_test.rb:10:in `block in <class:ErrorPreviewsControllerTest>'
714
+
715
+
716
+ Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
717
+ Parameters: {"code"=>"404"}
718
+ Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (3.0ms)
719
+ Completed 404 Not Found in 19ms (Views: 14.7ms)
720
+ -------------------------------------
721
+ ErrorPreviewsControllerTest: test_500
722
+ -------------------------------------
723
+ Started GET "/error_previews/preview" for 127.0.0.1 at 2015-01-19 11:30:41 +0100
724
+ Processing by ErrorPreviewsController#preview as HTML
725
+ Completed 500 Internal Server Error in 0ms
726
+
727
+ RuntimeError (some generic exception):
728
+ app/controllers/error_previews_controller.rb:8:in `preview'
729
+ test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
730
+
731
+
732
+ Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
733
+ Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/generic_error.html.erb within layouts/simplificator_infrastructure/errors (1.5ms)
734
+ Completed 500 Internal Server Error in 3ms (Views: 2.6ms)
735
+ -----------------------------------------------------------------------------------------
736
+ SimplificatorInfrastructure::ErrorSummaryTest: test_determines_status_code_from_exception
737
+ -----------------------------------------------------------------------------------------
738
+ ---------------------------------------------------------------------------------------
739
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
740
+ ---------------------------------------------------------------------------------------
741
+ -------------------------------------------------------------------------------
742
+ SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_exception_from_env
743
+ -------------------------------------------------------------------------------
744
+ --------------------------------------------------------------------------------------------------------
745
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_accept_header_if_not_in_path_or_params
746
+ --------------------------------------------------------------------------------------------------------
747
+ -----------------------------------------------------------------------------------------------------------------
748
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_use_default_if_not_in_path_or_params_or_accept_header
749
+ -----------------------------------------------------------------------------------------------------------------
750
+ ----------------------------------------------------------------------
751
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_path
752
+ ----------------------------------------------------------------------
753
+ ----------------------------------------------------------------------------
754
+ SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_params_from_env
755
+ ----------------------------------------------------------------------------
756
+ -------------------------------------
757
+ ErrorPreviewsControllerTest: test_404
758
+ -------------------------------------
759
+ Started GET "/error_previews/preview?code=404" for 127.0.0.1 at 2015-01-19 11:31:03 +0100
760
+ Processing by ErrorPreviewsController#preview as HTML
761
+ Parameters: {"code"=>"404"}
762
+ Completed 404 Not Found in 0ms
763
+
764
+ ActionController::RoutingError (Was asked to raise generate a 404):
765
+ app/controllers/error_previews_controller.rb:9:in `preview'
766
+ test/integration/error_previews_controller_test.rb:10:in `block in <class:ErrorPreviewsControllerTest>'
767
+
768
+
769
+ Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
770
+ Parameters: {"code"=>"404"}
771
+ Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (3.6ms)
772
+ Completed 404 Not Found in 20ms (Views: 14.7ms)
773
+ -------------------------------------
774
+ ErrorPreviewsControllerTest: test_500
775
+ -------------------------------------
776
+ Started GET "/error_previews/preview" for 127.0.0.1 at 2015-01-19 11:31:03 +0100
777
+ Processing by ErrorPreviewsController#preview as HTML
778
+ Completed 500 Internal Server Error in 0ms
779
+
780
+ RuntimeError (some generic exception):
781
+ app/controllers/error_previews_controller.rb:8:in `preview'
782
+ test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
783
+
784
+
785
+ Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
786
+ Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/generic_error.html.erb within layouts/simplificator_infrastructure/errors (1.5ms)
787
+ Completed 500 Internal Server Error in 3ms (Views: 2.5ms)
788
+ -----------------------------------------------------------------------------------------
789
+ SimplificatorInfrastructure::ErrorSummaryTest: test_determines_status_code_from_exception
790
+ -----------------------------------------------------------------------------------------
791
+ ----------------------------------------------------------------------
792
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_path
793
+ ----------------------------------------------------------------------
794
+ ---------------------------------------------------------------------------------------
795
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
796
+ ---------------------------------------------------------------------------------------
797
+ -----------------------------------------------------------------------------------------------------------------
798
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_use_default_if_not_in_path_or_params_or_accept_header
799
+ -----------------------------------------------------------------------------------------------------------------
800
+ ----------------------------------------------------------------------------
801
+ SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_params_from_env
802
+ ----------------------------------------------------------------------------
803
+ -------------------------------------------------------------------------------
804
+ SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_exception_from_env
805
+ -------------------------------------------------------------------------------
806
+ --------------------------------------------------------------------------------------------------------
807
+ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_accept_header_if_not_in_path_or_params
808
+ --------------------------------------------------------------------------------------------------------
809
+ -------------------------------------------
810
+ SimplificatorInfrastructureTest: test_truth
811
+ -------------------------------------------