authorize_if 0.0.1

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 (47) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +21 -0
  3. data/README.md +200 -0
  4. data/Rakefile +34 -0
  5. data/lib/authorize_if.rb +138 -0
  6. data/lib/authorize_if/version.rb +3 -0
  7. data/lib/tasks/authorize_if_tasks.rake +4 -0
  8. data/test/dummy/README.rdoc +28 -0
  9. data/test/dummy/Rakefile +6 -0
  10. data/test/dummy/app/assets/javascripts/application.js +13 -0
  11. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  12. data/test/dummy/app/controllers/application_controller.rb +9 -0
  13. data/test/dummy/app/controllers/articles_controller.rb +27 -0
  14. data/test/dummy/app/helpers/application_helper.rb +2 -0
  15. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  16. data/test/dummy/bin/bundle +3 -0
  17. data/test/dummy/bin/rails +4 -0
  18. data/test/dummy/bin/rake +4 -0
  19. data/test/dummy/bin/setup +29 -0
  20. data/test/dummy/config.ru +4 -0
  21. data/test/dummy/config/application.rb +13 -0
  22. data/test/dummy/config/boot.rb +5 -0
  23. data/test/dummy/config/environment.rb +5 -0
  24. data/test/dummy/config/environments/development.rb +35 -0
  25. data/test/dummy/config/environments/production.rb +72 -0
  26. data/test/dummy/config/environments/test.rb +37 -0
  27. data/test/dummy/config/initializers/assets.rb +11 -0
  28. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  29. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  30. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  31. data/test/dummy/config/initializers/inflections.rb +16 -0
  32. data/test/dummy/config/initializers/mime_types.rb +4 -0
  33. data/test/dummy/config/initializers/session_store.rb +3 -0
  34. data/test/dummy/config/initializers/wrap_parameters.rb +9 -0
  35. data/test/dummy/config/locales/en.yml +23 -0
  36. data/test/dummy/config/routes.rb +3 -0
  37. data/test/dummy/config/secrets.yml +22 -0
  38. data/test/dummy/db/test.sqlite3 +0 -0
  39. data/test/dummy/log/test.log +1784 -0
  40. data/test/dummy/public/404.html +67 -0
  41. data/test/dummy/public/422.html +67 -0
  42. data/test/dummy/public/500.html +66 -0
  43. data/test/dummy/public/favicon.ico +0 -0
  44. data/test/integration/authorize_if_integration_test.rb +41 -0
  45. data/test/test_helper.rb +19 -0
  46. data/test/unit/authorize_if_unit_test.rb +113 -0
  47. metadata +170 -0
File without changes
@@ -0,0 +1,1784 @@
1
+  (0.1ms) begin transaction
2
+ ---------------------------
3
+ AuthorizeIfTest: test_truth
4
+ ---------------------------
5
+  (0.0ms) rollback transaction
6
+  (0.1ms) begin transaction
7
+ ------------------------------------------------------------------
8
+ AuthorizeIfTest: test_controller_responds_to_`authorize_if`_method
9
+ ------------------------------------------------------------------
10
+  (0.2ms) rollback transaction
11
+  (0.1ms) begin transaction
12
+ ------------------------------------------------------------------
13
+ AuthorizeIfTest: test_controller_responds_to_`authorize_if`_method
14
+ ------------------------------------------------------------------
15
+ Started GET "/articles" for 127.0.0.1 at 2016-01-23 17:57:23 +0700
16
+ Processing by ArticlesController#index as HTML
17
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
18
+  (0.1ms) rollback transaction
19
+  (0.1ms) begin transaction
20
+ ------------------------------------------------------------------
21
+ AuthorizeIfTest: test_controller_responds_to_`authorize_if`_method
22
+ ------------------------------------------------------------------
23
+ Started GET "/articles" for 127.0.0.1 at 2016-01-23 17:58:23 +0700
24
+ Processing by ArticlesController#index as HTML
25
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
26
+  (0.1ms) rollback transaction
27
+  (0.1ms) begin transaction
28
+ ------------------------------------------------------------------
29
+ AuthorizeIfTest: test_controller_responds_to_`authorize_if`_method
30
+ ------------------------------------------------------------------
31
+ Started GET "/articles" for 127.0.0.1 at 2016-01-23 17:58:59 +0700
32
+ Processing by ArticlesController#index as HTML
33
+ Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.0ms)
34
+  (0.1ms) rollback transaction
35
+  (0.1ms) begin transaction
36
+ ------------------------------------------------------------------
37
+ AuthorizeIfTest: test_controller_responds_to_`authorize_if`_method
38
+ ------------------------------------------------------------------
39
+ Started GET "/articles" for 127.0.0.1 at 2016-01-23 18:01:33 +0700
40
+ Processing by ArticlesController#index as HTML
41
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
42
+  (0.1ms) rollback transaction
43
+  (0.1ms) begin transaction
44
+ ------------------------------------------------------------------
45
+ AuthorizeIfTest: test_controller_responds_to_`authorize_if`_method
46
+ ------------------------------------------------------------------
47
+ Started GET "/articles" for 127.0.0.1 at 2016-01-23 18:01:46 +0700
48
+ Processing by ArticlesController#index as HTML
49
+ Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms)
50
+  (0.1ms) rollback transaction
51
+  (0.1ms) begin transaction
52
+ ------------------------------------------------------------------
53
+ AuthorizeIfTest: test_controller_responds_to_`authorize_if`_method
54
+ ------------------------------------------------------------------
55
+ Started GET "/articles" for 127.0.0.1 at 2016-01-23 18:02:00 +0700
56
+ Processing by ArticlesController#index as HTML
57
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
58
+  (0.1ms) rollback transaction
59
+  (0.1ms) begin transaction
60
+ ------------------------------------------------------------------
61
+ AuthorizeIfTest: test_controller_responds_to_`authorize_if`_method
62
+ ------------------------------------------------------------------
63
+ Started GET "/articles" for 127.0.0.1 at 2016-01-23 18:05:27 +0700
64
+ Processing by ArticlesController#index as HTML
65
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
66
+  (0.1ms) rollback transaction
67
+  (0.1ms) begin transaction
68
+ ------------------------------------------------------------------
69
+ AuthorizeIfTest: test_controller_responds_to_`authorize_if`_method
70
+ ------------------------------------------------------------------
71
+ Started GET "/articles" for 127.0.0.1 at 2016-01-23 18:09:20 +0700
72
+ Processing by ArticlesController#index as HTML
73
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
74
+  (0.1ms) rollback transaction
75
+  (0.1ms) begin transaction
76
+ ------------------------------------------------------------------
77
+ AuthorizeIfTest: test_controller_responds_to_`authorize_if`_method
78
+ ------------------------------------------------------------------
79
+ Started GET "/articles/show_truthy" for 127.0.0.1 at 2016-01-23 18:12:28 +0700
80
+ Processing by ArticlesController#show_truthy as HTML
81
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
82
+  (0.1ms) rollback transaction
83
+  (0.1ms) begin transaction
84
+ ------------------------------------------------------------------
85
+ AuthorizeIfTest: test_controller_responds_to_`authorize_if`_method
86
+ ------------------------------------------------------------------
87
+ Started GET "/articles/show_truthy" for 127.0.0.1 at 2016-01-23 18:13:14 +0700
88
+ Processing by ArticlesController#show_truthy as HTML
89
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
90
+  (0.1ms) rollback transaction
91
+  (0.1ms) begin transaction
92
+ -----------------------------------------------------
93
+ AuthorizeIfTest: test_unauthorized_if_falsey_is_given
94
+ -----------------------------------------------------
95
+ Started GET "/articles/show_falsey" for 127.0.0.1 at 2016-01-23 18:18:25 +0700
96
+ Processing by ArticlesController#show_falsey as HTML
97
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
98
+  (0.1ms) rollback transaction
99
+  (0.1ms) begin transaction
100
+ ---------------------------------------------------
101
+ AuthorizeIfTest: test_authorized_if_truthy_is_given
102
+ ---------------------------------------------------
103
+ Started GET "/articles/show_truthy" for 127.0.0.1 at 2016-01-23 18:18:25 +0700
104
+ Processing by ArticlesController#show_truthy as HTML
105
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
106
+  (0.1ms) rollback transaction
107
+  (0.1ms) begin transaction
108
+ -----------------------------------------------------
109
+ AuthorizeIfTest: test_unauthorized_if_falsey_is_given
110
+ -----------------------------------------------------
111
+ Started GET "/articles/show_falsey" for 127.0.0.1 at 2016-01-23 18:19:19 +0700
112
+ Processing by ArticlesController#show_falsey as HTML
113
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
114
+  (0.1ms) rollback transaction
115
+  (0.1ms) begin transaction
116
+ ---------------------------------------------------
117
+ AuthorizeIfTest: test_authorized_if_truthy_is_given
118
+ ---------------------------------------------------
119
+ Started GET "/articles/show_truthy" for 127.0.0.1 at 2016-01-23 18:19:19 +0700
120
+ Processing by ArticlesController#show_truthy as HTML
121
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
122
+  (0.1ms) rollback transaction
123
+  (0.1ms) begin transaction
124
+ ---------------------------------------------------
125
+ AuthorizeIfTest: test_authorized_if_truthy_is_given
126
+ ---------------------------------------------------
127
+ Started GET "/articles/show_truthy" for 127.0.0.1 at 2016-01-23 18:21:51 +0700
128
+ Processing by ArticlesController#show_truthy as HTML
129
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
130
+  (0.1ms) rollback transaction
131
+  (0.1ms) begin transaction
132
+ -----------------------------------------------------
133
+ AuthorizeIfTest: test_unauthorized_if_falsey_is_given
134
+ -----------------------------------------------------
135
+ Started GET "/articles/show_falsey" for 127.0.0.1 at 2016-01-23 18:21:52 +0700
136
+ Processing by ArticlesController#show_falsey as HTML
137
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
138
+  (0.1ms) rollback transaction
139
+  (0.1ms) begin transaction
140
+ ---------------------------------------------------
141
+ AuthorizeIfTest: test_authorized_if_truthy_is_given
142
+ ---------------------------------------------------
143
+ Started GET "/articles/show_truthy" for 127.0.0.1 at 2016-01-23 18:22:26 +0700
144
+ Processing by ArticlesController#show_truthy as HTML
145
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
146
+  (0.1ms) rollback transaction
147
+  (0.0ms) begin transaction
148
+ -----------------------------------------------------
149
+ AuthorizeIfTest: test_unauthorized_if_falsey_is_given
150
+ -----------------------------------------------------
151
+ Started GET "/articles/show_falsey" for 127.0.0.1 at 2016-01-23 18:22:26 +0700
152
+ Processing by ArticlesController#show_falsey as HTML
153
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
154
+  (0.2ms) rollback transaction
155
+  (0.1ms) begin transaction
156
+ -----------------------------------------------------
157
+ AuthorizeIfTest: test_unauthorized_if_falsey_is_given
158
+ -----------------------------------------------------
159
+ Started GET "/show_falsey" for 127.0.0.1 at 2016-01-23 18:30:56 +0700
160
+ Processing by HomeController#show_falsey as HTML
161
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
162
+  (0.1ms) rollback transaction
163
+  (0.0ms) begin transaction
164
+ ---------------------------------------------------
165
+ AuthorizeIfTest: test_authorized_if_truthy_is_given
166
+ ---------------------------------------------------
167
+ Started GET "/show_truthy" for 127.0.0.1 at 2016-01-23 18:30:56 +0700
168
+ Processing by HomeController#show_truthy as HTML
169
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
170
+  (0.1ms) rollback transaction
171
+  (0.1ms) begin transaction
172
+ -------------------------------------------------
173
+ AuthorizeIfTest: test_authorized_if_true_is_given
174
+ -------------------------------------------------
175
+ Started GET "/show_true" for 127.0.0.1 at 2016-01-23 18:34:00 +0700
176
+ Processing by HomeController#show_true as HTML
177
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
178
+  (0.1ms) rollback transaction
179
+  (0.0ms) begin transaction
180
+ -----------------------------------------------------
181
+ AuthorizeIfTest: test_unauthorized_if_falsey_is_given
182
+ -----------------------------------------------------
183
+ Started GET "/show_falsey" for 127.0.0.1 at 2016-01-23 18:34:00 +0700
184
+ Processing by HomeController#show_falsey as HTML
185
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
186
+  (0.1ms) rollback transaction
187
+  (0.0ms) begin transaction
188
+ ---------------------------------------------------
189
+ AuthorizeIfTest: test_authorized_if_truthy_is_given
190
+ ---------------------------------------------------
191
+ Started GET "/show_truthy" for 127.0.0.1 at 2016-01-23 18:34:00 +0700
192
+ Processing by HomeController#show_truthy as HTML
193
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
194
+  (0.1ms) rollback transaction
195
+  (0.0ms) begin transaction
196
+ ----------------------------------------------------
197
+ AuthorizeIfTest: test_unauthorized_if_false_is_given
198
+ ----------------------------------------------------
199
+ Started GET "/show_false" for 127.0.0.1 at 2016-01-23 18:34:00 +0700
200
+ Processing by HomeController#show_false as HTML
201
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
202
+  (0.1ms) rollback transaction
203
+  (0.3ms) begin transaction
204
+ -------------------------------------------------
205
+ AuthorizeIfTest: test_authorized_if_true_is_given
206
+ -------------------------------------------------
207
+ Started GET "/show_true" for 127.0.0.1 at 2016-01-23 18:43:56 +0700
208
+ Processing by HomeController#show_true as HTML
209
+ Completed 200 OK in 1ms (ActiveRecord: 0.0ms)
210
+  (0.2ms) rollback transaction
211
+  (0.1ms) begin transaction
212
+ ----------------------------------------------------
213
+ AuthorizeIfTest: test_unauthorized_if_false_is_given
214
+ ----------------------------------------------------
215
+ Started GET "/show_false" for 127.0.0.1 at 2016-01-23 18:43:56 +0700
216
+ Processing by HomeController#show_false as HTML
217
+ Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)
218
+  (0.2ms) rollback transaction
219
+  (0.1ms) begin transaction
220
+ ---------------------------------------------------
221
+ AuthorizeIfTest: test_authorized_if_truthy_is_given
222
+ ---------------------------------------------------
223
+ Started GET "/show_truthy" for 127.0.0.1 at 2016-01-23 18:43:56 +0700
224
+ Processing by HomeController#show_truthy as HTML
225
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
226
+  (0.2ms) rollback transaction
227
+  (0.1ms) begin transaction
228
+ ------------------------------------------------------
229
+ AuthorizeIfTest: test_unauthorized_if_nothing_is_given
230
+ ------------------------------------------------------
231
+ Started GET "/show_nothing" for 127.0.0.1 at 2016-01-23 18:43:56 +0700
232
+ Processing by HomeController#show_nothing as HTML
233
+ Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)
234
+  (0.3ms) rollback transaction
235
+  (0.3ms) begin transaction
236
+ --------------------------------------------------------------
237
+ AuthorizeIfTest: test_unauthorized_if_block_evaluates_to_false
238
+ --------------------------------------------------------------
239
+  (0.2ms) rollback transaction
240
+  (0.3ms) begin transaction
241
+ -----------------------------------------------------------
242
+ AuthorizeIfTest: test_authorized_if_block_evaluates_to_true
243
+ -----------------------------------------------------------
244
+  (0.1ms) rollback transaction
245
+  (0.3ms) begin transaction
246
+ -----------------------------------------------------
247
+ AuthorizeIfTest: test_unauthorized_if_falsey_is_given
248
+ -----------------------------------------------------
249
+ Started GET "/show_falsey" for 127.0.0.1 at 2016-01-23 18:43:56 +0700
250
+ Processing by HomeController#show_falsey as HTML
251
+ Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms)
252
+  (0.2ms) rollback transaction
253
+  (0.3ms) begin transaction
254
+ -----------------------------------------------------------
255
+ AuthorizeIfTest: test_authorized_if_block_evaluates_to_true
256
+ -----------------------------------------------------------
257
+  (0.2ms) rollback transaction
258
+  (0.1ms) begin transaction
259
+ ----------------------------------------------------
260
+ AuthorizeIfTest: test_unauthorized_if_false_is_given
261
+ ----------------------------------------------------
262
+ Started GET "/show_false" for 127.0.0.1 at 2016-01-23 18:44:23 +0700
263
+ Processing by HomeController#show_false as HTML
264
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
265
+  (0.2ms) rollback transaction
266
+  (0.1ms) begin transaction
267
+ ---------------------------------------------------
268
+ AuthorizeIfTest: test_authorized_if_truthy_is_given
269
+ ---------------------------------------------------
270
+ Started GET "/show_truthy" for 127.0.0.1 at 2016-01-23 18:44:23 +0700
271
+ Processing by HomeController#show_truthy as HTML
272
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
273
+  (0.2ms) rollback transaction
274
+  (0.1ms) begin transaction
275
+ --------------------------------------------------------------
276
+ AuthorizeIfTest: test_unauthorized_if_block_evaluates_to_false
277
+ --------------------------------------------------------------
278
+  (0.3ms) rollback transaction
279
+  (0.1ms) begin transaction
280
+ ------------------------------------------------------
281
+ AuthorizeIfTest: test_unauthorized_if_nothing_is_given
282
+ ------------------------------------------------------
283
+ Started GET "/show_nothing" for 127.0.0.1 at 2016-01-23 18:44:23 +0700
284
+ Processing by HomeController#show_nothing as HTML
285
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
286
+  (0.2ms) rollback transaction
287
+  (0.1ms) begin transaction
288
+ -------------------------------------------------
289
+ AuthorizeIfTest: test_authorized_if_true_is_given
290
+ -------------------------------------------------
291
+ Started GET "/show_true" for 127.0.0.1 at 2016-01-23 18:44:23 +0700
292
+ Processing by HomeController#show_true as HTML
293
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
294
+  (0.2ms) rollback transaction
295
+  (0.2ms) begin transaction
296
+ -----------------------------------------------------
297
+ AuthorizeIfTest: test_unauthorized_if_falsey_is_given
298
+ -----------------------------------------------------
299
+ Started GET "/show_falsey" for 127.0.0.1 at 2016-01-23 18:44:23 +0700
300
+ Processing by HomeController#show_falsey as HTML
301
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
302
+  (0.2ms) rollback transaction
303
+  (0.3ms) begin transaction
304
+ -----------------------------------------------------
305
+ AuthorizeIfTest: test_unauthorized_if_falsey_is_given
306
+ -----------------------------------------------------
307
+  (0.3ms) begin transaction
308
+ --------------------------------------------------------------
309
+ AuthorizeIfTest: test_unauthorized_if_block_evaluates_to_false
310
+ --------------------------------------------------------------
311
+  (0.2ms) rollback transaction
312
+  (0.1ms) begin transaction
313
+ -----------------------------------------------------
314
+ AuthorizeIfTest: test_unauthorized_if_falsey_is_given
315
+ -----------------------------------------------------
316
+ Started GET "/show_falsey" for 127.0.0.1 at 2016-01-23 18:47:56 +0700
317
+ Processing by HomeController#show_falsey as HTML
318
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
319
+  (0.3ms) rollback transaction
320
+  (0.2ms) begin transaction
321
+ -------------------------------------------------
322
+ AuthorizeIfTest: test_authorized_if_true_is_given
323
+ -------------------------------------------------
324
+ Started GET "/show_true" for 127.0.0.1 at 2016-01-23 18:47:56 +0700
325
+ Processing by HomeController#show_true as HTML
326
+ Completed 200 OK in 1ms (ActiveRecord: 0.0ms)
327
+  (0.2ms) rollback transaction
328
+  (0.3ms) begin transaction
329
+ -----------------------------------------------------------
330
+ AuthorizeIfTest: test_authorized_if_block_evaluates_to_true
331
+ -----------------------------------------------------------
332
+  (0.1ms) rollback transaction
333
+  (0.2ms) begin transaction
334
+ ------------------------------------------------------
335
+ AuthorizeIfTest: test_unauthorized_if_nothing_is_given
336
+ ------------------------------------------------------
337
+ Started GET "/show_nothing" for 127.0.0.1 at 2016-01-23 18:47:56 +0700
338
+ Processing by HomeController#show_nothing as HTML
339
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
340
+  (0.3ms) rollback transaction
341
+  (0.1ms) begin transaction
342
+ ----------------------------------------------------
343
+ AuthorizeIfTest: test_unauthorized_if_false_is_given
344
+ ----------------------------------------------------
345
+ Started GET "/show_false" for 127.0.0.1 at 2016-01-23 18:47:56 +0700
346
+ Processing by HomeController#show_false as HTML
347
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
348
+  (0.3ms) rollback transaction
349
+  (0.1ms) begin transaction
350
+ ---------------------------------------------------
351
+ AuthorizeIfTest: test_authorized_if_truthy_is_given
352
+ ---------------------------------------------------
353
+ Started GET "/show_truthy" for 127.0.0.1 at 2016-01-23 18:47:56 +0700
354
+ Processing by HomeController#show_truthy as HTML
355
+ Completed 200 OK in 1ms (ActiveRecord: 0.0ms)
356
+  (0.2ms) rollback transaction
357
+  (0.3ms) begin transaction
358
+ ---------------------------------------------------
359
+ AuthorizeIfTest: test_authorized_if_truthy_is_given
360
+ ---------------------------------------------------
361
+ Started GET "/show_truthy" for 127.0.0.1 at 2016-01-23 18:49:16 +0700
362
+ Processing by HomeController#show_truthy as HTML
363
+ Completed 200 OK in 1ms (ActiveRecord: 0.0ms)
364
+  (0.2ms) rollback transaction
365
+  (0.1ms) begin transaction
366
+ ----------------------------------------------------
367
+ AuthorizeIfTest: test_unauthorized_if_false_is_given
368
+ ----------------------------------------------------
369
+ Started GET "/show_false" for 127.0.0.1 at 2016-01-23 18:49:16 +0700
370
+ Processing by HomeController#show_false as HTML
371
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
372
+  (0.2ms) rollback transaction
373
+  (0.1ms) begin transaction
374
+ -------------------------------------------------
375
+ AuthorizeIfTest: test_authorized_if_true_is_given
376
+ -------------------------------------------------
377
+ Started GET "/show_true" for 127.0.0.1 at 2016-01-23 18:49:16 +0700
378
+ Processing by HomeController#show_true as HTML
379
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
380
+  (0.2ms) rollback transaction
381
+  (0.1ms) begin transaction
382
+ --------------------------------------------------------------
383
+ AuthorizeIfTest: test_unauthorized_if_block_evaluates_to_false
384
+ --------------------------------------------------------------
385
+  (0.2ms) rollback transaction
386
+  (0.1ms) begin transaction
387
+ -----------------------------------------------------------
388
+ AuthorizeIfTest: test_authorized_if_block_evaluates_to_true
389
+ -----------------------------------------------------------
390
+ Started GET "/show_block_true" for 127.0.0.1 at 2016-01-23 18:49:16 +0700
391
+ Processing by HomeController#show_block_true as HTML
392
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
393
+  (0.2ms) rollback transaction
394
+  (0.1ms) begin transaction
395
+ -----------------------------------------------------
396
+ AuthorizeIfTest: test_unauthorized_if_falsey_is_given
397
+ -----------------------------------------------------
398
+ Started GET "/show_falsey" for 127.0.0.1 at 2016-01-23 18:49:16 +0700
399
+ Processing by HomeController#show_falsey as HTML
400
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
401
+  (0.2ms) rollback transaction
402
+  (0.1ms) begin transaction
403
+ ------------------------------------------------------
404
+ AuthorizeIfTest: test_unauthorized_if_nothing_is_given
405
+ ------------------------------------------------------
406
+ Started GET "/show_nothing" for 127.0.0.1 at 2016-01-23 18:49:16 +0700
407
+ Processing by HomeController#show_nothing as HTML
408
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
409
+  (0.2ms) rollback transaction
410
+  (0.3ms) begin transaction
411
+ -----------------------------------------------------------
412
+ AuthorizeIfTest: test_authorized_if_block_evaluates_to_true
413
+ -----------------------------------------------------------
414
+ Started GET "/show_block_true" for 127.0.0.1 at 2016-01-23 18:49:43 +0700
415
+ Processing by HomeController#show_block_true as HTML
416
+ Completed 200 OK in 1ms (ActiveRecord: 0.0ms)
417
+  (0.2ms) rollback transaction
418
+  (0.1ms) begin transaction
419
+ ----------------------------------------------------
420
+ AuthorizeIfTest: test_unauthorized_if_false_is_given
421
+ ----------------------------------------------------
422
+ Started GET "/show_false" for 127.0.0.1 at 2016-01-23 18:49:43 +0700
423
+ Processing by HomeController#show_false as HTML
424
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
425
+  (0.2ms) rollback transaction
426
+  (0.1ms) begin transaction
427
+ ---------------------------------------------------
428
+ AuthorizeIfTest: test_authorized_if_truthy_is_given
429
+ ---------------------------------------------------
430
+ Started GET "/show_truthy" for 127.0.0.1 at 2016-01-23 18:49:43 +0700
431
+ Processing by HomeController#show_truthy as HTML
432
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
433
+  (0.2ms) rollback transaction
434
+  (0.1ms) begin transaction
435
+ --------------------------------------------------------------
436
+ AuthorizeIfTest: test_unauthorized_if_block_evaluates_to_false
437
+ --------------------------------------------------------------
438
+ Started GET "/show_block_false" for 127.0.0.1 at 2016-01-23 18:49:43 +0700
439
+ Processing by HomeController#show_block_false as HTML
440
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
441
+  (0.2ms) rollback transaction
442
+  (0.3ms) begin transaction
443
+ -------------------------------------------------
444
+ AuthorizeIfTest: test_authorized_if_true_is_given
445
+ -------------------------------------------------
446
+ Started GET "/show_true" for 127.0.0.1 at 2016-01-23 18:49:43 +0700
447
+ Processing by HomeController#show_true as HTML
448
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
449
+  (0.2ms) rollback transaction
450
+  (0.2ms) begin transaction
451
+ ------------------------------------------------------
452
+ AuthorizeIfTest: test_unauthorized_if_nothing_is_given
453
+ ------------------------------------------------------
454
+ Started GET "/show_nothing" for 127.0.0.1 at 2016-01-23 18:49:43 +0700
455
+ Processing by HomeController#show_nothing as HTML
456
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
457
+  (0.2ms) rollback transaction
458
+  (0.2ms) begin transaction
459
+ -----------------------------------------------------
460
+ AuthorizeIfTest: test_unauthorized_if_falsey_is_given
461
+ -----------------------------------------------------
462
+ Started GET "/show_falsey" for 127.0.0.1 at 2016-01-23 18:49:43 +0700
463
+ Processing by HomeController#show_falsey as HTML
464
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
465
+  (0.3ms) rollback transaction
466
+  (0.1ms) begin transaction
467
+ ------------------------------------------------------
468
+ AuthorizeIfTest: test_unauthorized_if_nothing_is_given
469
+ ------------------------------------------------------
470
+ Started GET "/show_nothing" for 127.0.0.1 at 2016-01-23 20:55:46 +0700
471
+ Processing by HomeController#show_nothing as HTML
472
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
473
+  (0.1ms) rollback transaction
474
+  (0.1ms) begin transaction
475
+ -----------------------------------------------------
476
+ AuthorizeIfTest: test_unauthorized_if_falsey_is_given
477
+ -----------------------------------------------------
478
+ Started GET "/show_falsey" for 127.0.0.1 at 2016-01-23 20:55:46 +0700
479
+ Processing by HomeController#show_falsey as HTML
480
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
481
+  (0.1ms) rollback transaction
482
+  (0.1ms) begin transaction
483
+ -----------------------------------------------------------
484
+ AuthorizeIfTest: test_authorized_if_block_evaluates_to_true
485
+ -----------------------------------------------------------
486
+ Started GET "/show_block_true" for 127.0.0.1 at 2016-01-23 20:55:46 +0700
487
+ Processing by HomeController#show_block_true as HTML
488
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
489
+  (0.1ms) rollback transaction
490
+  (0.1ms) begin transaction
491
+ -------------------------------------------------
492
+ AuthorizeIfTest: test_authorized_if_true_is_given
493
+ -------------------------------------------------
494
+ Started GET "/show_true" for 127.0.0.1 at 2016-01-23 20:55:46 +0700
495
+ Processing by HomeController#show_true as HTML
496
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
497
+  (0.1ms) rollback transaction
498
+  (0.0ms) begin transaction
499
+ ---------------------------------------------------
500
+ AuthorizeIfTest: test_authorized_if_truthy_is_given
501
+ ---------------------------------------------------
502
+ Started GET "/show_truthy" for 127.0.0.1 at 2016-01-23 20:55:46 +0700
503
+ Processing by HomeController#show_truthy as HTML
504
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
505
+  (0.1ms) rollback transaction
506
+  (0.0ms) begin transaction
507
+ ----------------------------------------------------
508
+ AuthorizeIfTest: test_unauthorized_if_false_is_given
509
+ ----------------------------------------------------
510
+ Started GET "/show_false" for 127.0.0.1 at 2016-01-23 20:55:46 +0700
511
+ Processing by HomeController#show_false as HTML
512
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
513
+  (0.1ms) rollback transaction
514
+  (0.0ms) begin transaction
515
+ --------------------------------------------------------------
516
+ AuthorizeIfTest: test_unauthorized_if_block_evaluates_to_false
517
+ --------------------------------------------------------------
518
+ Started GET "/show_block_false" for 127.0.0.1 at 2016-01-23 20:55:46 +0700
519
+ Processing by HomeController#show_block_false as HTML
520
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
521
+  (0.1ms) rollback transaction
522
+  (0.1ms) begin transaction
523
+ ---------------------------------------------------
524
+ AuthorizeIfTest: test_authorized_if_truthy_is_given
525
+ ---------------------------------------------------
526
+ Started GET "/show_truthy" for 127.0.0.1 at 2016-01-23 21:00:10 +0700
527
+ Processing by HomeController#show_truthy as HTML
528
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
529
+  (0.1ms) rollback transaction
530
+  (0.0ms) begin transaction
531
+ -----------------------------------------------------------
532
+ AuthorizeIfTest: test_authorized_if_block_evaluates_to_true
533
+ -----------------------------------------------------------
534
+ Started GET "/show_block_true" for 127.0.0.1 at 2016-01-23 21:00:10 +0700
535
+ Processing by HomeController#show_block_true as HTML
536
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
537
+  (0.1ms) rollback transaction
538
+  (0.0ms) begin transaction
539
+ ----------------------------------------------------
540
+ AuthorizeIfTest: test_unauthorized_if_false_is_given
541
+ ----------------------------------------------------
542
+ Started GET "/show_false" for 127.0.0.1 at 2016-01-23 21:00:10 +0700
543
+ Processing by HomeController#show_false as HTML
544
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
545
+  (0.0ms) rollback transaction
546
+  (0.1ms) begin transaction
547
+ -------------------------------------------------
548
+ AuthorizeIfTest: test_authorized_if_true_is_given
549
+ -------------------------------------------------
550
+ Started GET "/show_true" for 127.0.0.1 at 2016-01-23 21:00:10 +0700
551
+ Processing by HomeController#show_true as HTML
552
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
553
+  (0.1ms) rollback transaction
554
+  (0.1ms) begin transaction
555
+ ------------------------------------------------------
556
+ AuthorizeIfTest: test_unauthorized_if_nothing_is_given
557
+ ------------------------------------------------------
558
+ Started GET "/show_nothing" for 127.0.0.1 at 2016-01-23 21:00:10 +0700
559
+ Processing by HomeController#show_nothing as HTML
560
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
561
+  (0.1ms) rollback transaction
562
+  (0.2ms) begin transaction
563
+ --------------------------------------------------------------
564
+ AuthorizeIfTest: test_unauthorized_if_block_evaluates_to_false
565
+ --------------------------------------------------------------
566
+ Started GET "/show_block_false" for 127.0.0.1 at 2016-01-23 21:00:10 +0700
567
+ Processing by HomeController#show_block_false as HTML
568
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
569
+  (0.1ms) rollback transaction
570
+  (0.0ms) begin transaction
571
+ -----------------------------------------------------
572
+ AuthorizeIfTest: test_unauthorized_if_falsey_is_given
573
+ -----------------------------------------------------
574
+ Started GET "/show_falsey" for 127.0.0.1 at 2016-01-23 21:00:10 +0700
575
+ Processing by HomeController#show_falsey as HTML
576
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
577
+  (0.1ms) rollback transaction
578
+  (0.1ms) begin transaction
579
+ ----------------------------------------------------
580
+ AuthorizeIfTest: test_unauthorized_if_false_is_given
581
+ ----------------------------------------------------
582
+  (0.1ms) rollback transaction
583
+  (0.0ms) begin transaction
584
+ -------------------------------------------------
585
+ AuthorizeIfTest: test_authorized_if_true_is_given
586
+ -------------------------------------------------
587
+  (0.1ms) rollback transaction
588
+  (0.1ms) begin transaction
589
+ -------------------------------------------------
590
+ AuthorizeIfTest: test_authorized_if_true_is_given
591
+ -------------------------------------------------
592
+  (0.1ms) rollback transaction
593
+  (0.1ms) begin transaction
594
+ ----------------------------------------------------
595
+ AuthorizeIfTest: test_unauthorized_if_false_is_given
596
+ ----------------------------------------------------
597
+  (0.1ms) rollback transaction
598
+  (0.1ms) begin transaction
599
+ -------------------------------------------------
600
+ AuthorizeIfTest: test_authorized_if_true_is_given
601
+ -------------------------------------------------
602
+ Started GET "/show_authorized" for 127.0.0.1 at 2016-01-23 21:17:46 +0700
603
+ Processing by HomeController#show_authorized as HTML
604
+ Completed 200 OK in 1ms (ActiveRecord: 0.0ms)
605
+  (0.1ms) rollback transaction
606
+  (0.1ms) begin transaction
607
+ ----------------------------------------------------
608
+ AuthorizeIfTest: test_unauthorized_if_false_is_given
609
+ ----------------------------------------------------
610
+ Started GET "/show_unauthorized" for 127.0.0.1 at 2016-01-23 21:17:46 +0700
611
+ Processing by HomeController#show_unauthorized as HTML
612
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
613
+  (0.1ms) rollback transaction
614
+  (0.1ms) begin transaction
615
+ -------------------------------------------------
616
+ AuthorizeIfTest: test_authorized_if_true_is_given
617
+ -------------------------------------------------
618
+ Started GET "/show_authorized" for 127.0.0.1 at 2016-01-23 21:18:17 +0700
619
+ Processing by HomeController#show_authorized as HTML
620
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
621
+  (0.1ms) rollback transaction
622
+  (0.0ms) begin transaction
623
+ ----------------------------------------------------
624
+ AuthorizeIfTest: test_unauthorized_if_false_is_given
625
+ ----------------------------------------------------
626
+ Started GET "/show_unauthorized" for 127.0.0.1 at 2016-01-23 21:18:17 +0700
627
+ Processing by HomeController#show_unauthorized as HTML
628
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
629
+  (0.1ms) rollback transaction
630
+  (0.2ms) begin transaction
631
+ ------------------------------------------------------------
632
+ AuthorizeIfIntegrationTest: test_authorized_if_true_is_given
633
+ ------------------------------------------------------------
634
+ Started GET "/show_authorized" for 127.0.0.1 at 2016-01-23 21:27:45 +0700
635
+ Processing by HomeController#show_authorized as HTML
636
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
637
+  (0.1ms) rollback transaction
638
+  (0.0ms) begin transaction
639
+ ---------------------------------------------------------------
640
+ AuthorizeIfIntegrationTest: test_unauthorized_if_false_is_given
641
+ ---------------------------------------------------------------
642
+ Started GET "/show_unauthorized" for 127.0.0.1 at 2016-01-23 21:27:45 +0700
643
+ Processing by HomeController#show_unauthorized as HTML
644
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
645
+  (0.1ms) rollback transaction
646
+ ------------------------------------------------------------
647
+ AuthorizeIfIntegrationTest: test_authorized_if_true_is_given
648
+ ------------------------------------------------------------
649
+ Started GET "/show_authorized" for 127.0.0.1 at 2016-01-23 21:37:12 +0700
650
+ Processing by HomeController#show_authorized as HTML
651
+ Completed 200 OK in 0ms
652
+ ---------------------------------------------------------------
653
+ AuthorizeIfIntegrationTest: test_unauthorized_if_false_is_given
654
+ ---------------------------------------------------------------
655
+ Started GET "/show_unauthorized" for 127.0.0.1 at 2016-01-23 21:37:12 +0700
656
+ Processing by HomeController#show_unauthorized as HTML
657
+ Completed 500 Internal Server Error in 0ms
658
+ -------------------------------
659
+ AuthorizeIfUnitTest: test_works
660
+ -------------------------------
661
+ ------------------------------------------------------------
662
+ AuthorizeIfIntegrationTest: test_authorized_if_true_is_given
663
+ ------------------------------------------------------------
664
+ Started GET "/show_authorized" for 127.0.0.1 at 2016-01-23 21:43:44 +0700
665
+ Processing by HomeController#show_authorized as HTML
666
+ Completed 200 OK in 0ms
667
+ ---------------------------------------------------------------
668
+ AuthorizeIfIntegrationTest: test_unauthorized_if_false_is_given
669
+ ---------------------------------------------------------------
670
+ Started GET "/show_unauthorized" for 127.0.0.1 at 2016-01-23 21:43:44 +0700
671
+ Processing by HomeController#show_unauthorized as HTML
672
+ Completed 500 Internal Server Error in 0ms
673
+ ------------------------------------------------------------
674
+ AuthorizeIfIntegrationTest: test_authorized_if_true_is_given
675
+ ------------------------------------------------------------
676
+ Started GET "/show_authorized" for 127.0.0.1 at 2016-01-23 21:47:28 +0700
677
+ Processing by HomeController#show_authorized as HTML
678
+ Completed 200 OK in 0ms
679
+ ---------------------------------------------------------------
680
+ AuthorizeIfIntegrationTest: test_unauthorized_if_false_is_given
681
+ ---------------------------------------------------------------
682
+ Started GET "/show_unauthorized" for 127.0.0.1 at 2016-01-23 21:47:28 +0700
683
+ Processing by HomeController#show_unauthorized as HTML
684
+ Completed 500 Internal Server Error in 0ms
685
+ ---------------------------------------------------------------
686
+ AuthorizeIfIntegrationTest: test_unauthorized_if_false_is_given
687
+ ---------------------------------------------------------------
688
+ Started GET "/show_unauthorized" for 127.0.0.1 at 2016-01-23 21:47:50 +0700
689
+ Processing by HomeController#show_unauthorized as HTML
690
+ Completed 500 Internal Server Error in 0ms
691
+ ------------------------------------------------------------
692
+ AuthorizeIfIntegrationTest: test_authorized_if_true_is_given
693
+ ------------------------------------------------------------
694
+ Started GET "/show_authorized" for 127.0.0.1 at 2016-01-23 21:47:50 +0700
695
+ Processing by HomeController#show_authorized as HTML
696
+ Completed 200 OK in 0ms
697
+ ---------------------------------------------------------------
698
+ AuthorizeIfIntegrationTest: test_unauthorized_if_false_is_given
699
+ ---------------------------------------------------------------
700
+ Started GET "/show_unauthorized" for 127.0.0.1 at 2016-01-23 21:51:30 +0700
701
+ Processing by HomeController#show_unauthorized as HTML
702
+ Completed 500 Internal Server Error in 0ms
703
+ ------------------------------------------------------------
704
+ AuthorizeIfIntegrationTest: test_authorized_if_true_is_given
705
+ ------------------------------------------------------------
706
+ Started GET "/show_authorized" for 127.0.0.1 at 2016-01-23 21:51:30 +0700
707
+ Processing by HomeController#show_authorized as HTML
708
+ Completed 200 OK in 0ms
709
+ ---------------------------------------------------------------
710
+ AuthorizeIfIntegrationTest: test_unauthorized_if_false_is_given
711
+ ---------------------------------------------------------------
712
+ Started GET "/show_unauthorized" for 127.0.0.1 at 2016-01-23 21:53:17 +0700
713
+ Processing by HomeController#show_unauthorized as HTML
714
+ Completed 500 Internal Server Error in 0ms
715
+ ------------------------------------------------------------
716
+ AuthorizeIfIntegrationTest: test_authorized_if_true_is_given
717
+ ------------------------------------------------------------
718
+ Started GET "/show_authorized" for 127.0.0.1 at 2016-01-23 21:53:17 +0700
719
+ Processing by HomeController#show_authorized as HTML
720
+ Completed 200 OK in 0ms
721
+ ------------------------------------------------------------
722
+ AuthorizeIfIntegrationTest: test_authorized_if_true_is_given
723
+ ------------------------------------------------------------
724
+ Started GET "/show_authorized" for 127.0.0.1 at 2016-01-23 21:53:33 +0700
725
+ Processing by HomeController#show_authorized as HTML
726
+ Completed 200 OK in 0ms
727
+ ---------------------------------------------------------------
728
+ AuthorizeIfIntegrationTest: test_unauthorized_if_false_is_given
729
+ ---------------------------------------------------------------
730
+ Started GET "/show_unauthorized" for 127.0.0.1 at 2016-01-23 21:53:33 +0700
731
+ Processing by HomeController#show_unauthorized as HTML
732
+ Completed 500 Internal Server Error in 0ms
733
+ ---------------------------------------------------------------
734
+ AuthorizeIfIntegrationTest: test_unauthorized_if_false_is_given
735
+ ---------------------------------------------------------------
736
+ Started GET "/show_unauthorized" for 127.0.0.1 at 2016-01-23 21:54:21 +0700
737
+ Processing by HomeController#show_unauthorized as HTML
738
+ Completed 500 Internal Server Error in 0ms
739
+ ------------------------------------------------------------
740
+ AuthorizeIfIntegrationTest: test_authorized_if_true_is_given
741
+ ------------------------------------------------------------
742
+ Started GET "/show_authorized" for 127.0.0.1 at 2016-01-23 21:54:21 +0700
743
+ Processing by HomeController#show_authorized as HTML
744
+ Completed 200 OK in 0ms
745
+ ---------------------------------------------------------------
746
+ AuthorizeIfIntegrationTest: test_unauthorized_if_false_is_given
747
+ ---------------------------------------------------------------
748
+ Started GET "/show_unauthorized" for 127.0.0.1 at 2016-01-23 21:55:11 +0700
749
+ Processing by HomeController#show_unauthorized as HTML
750
+ Completed 500 Internal Server Error in 0ms
751
+ ------------------------------------------------------------
752
+ AuthorizeIfIntegrationTest: test_authorized_if_true_is_given
753
+ ------------------------------------------------------------
754
+ Started GET "/show_authorized" for 127.0.0.1 at 2016-01-23 21:55:11 +0700
755
+ Processing by HomeController#show_authorized as HTML
756
+ Completed 200 OK in 0ms
757
+ ------------------------------------------------------------
758
+ AuthorizeIfIntegrationTest: test_authorized_if_true_is_given
759
+ ------------------------------------------------------------
760
+ Started GET "/show_authorized" for 127.0.0.1 at 2016-01-23 21:56:14 +0700
761
+ Processing by HomeController#show_authorized as HTML
762
+ Completed 200 OK in 0ms
763
+ ---------------------------------------------------------------
764
+ AuthorizeIfIntegrationTest: test_unauthorized_if_false_is_given
765
+ ---------------------------------------------------------------
766
+ Started GET "/show_unauthorized" for 127.0.0.1 at 2016-01-23 21:56:14 +0700
767
+ Processing by HomeController#show_unauthorized as HTML
768
+ Completed 500 Internal Server Error in 1ms
769
+ ------------------------------------------------------------
770
+ AuthorizeIfIntegrationTest: test_authorized_if_true_is_given
771
+ ------------------------------------------------------------
772
+ Started GET "/show_authorized" for 127.0.0.1 at 2016-01-23 21:56:46 +0700
773
+ Processing by HomeController#show_authorized as HTML
774
+ Completed 200 OK in 0ms
775
+ ---------------------------------------------------------------
776
+ AuthorizeIfIntegrationTest: test_unauthorized_if_false_is_given
777
+ ---------------------------------------------------------------
778
+ Started GET "/show_unauthorized" for 127.0.0.1 at 2016-01-23 21:56:46 +0700
779
+ Processing by HomeController#show_unauthorized as HTML
780
+ Completed 500 Internal Server Error in 1ms
781
+ ---------------------------------------------------------------
782
+ AuthorizeIfIntegrationTest: test_unauthorized_if_false_is_given
783
+ ---------------------------------------------------------------
784
+ Started GET "/show_unauthorized" for 127.0.0.1 at 2016-01-23 21:57:22 +0700
785
+ Processing by HomeController#show_unauthorized as HTML
786
+ Completed 500 Internal Server Error in 0ms
787
+ ------------------------------------------------------------
788
+ AuthorizeIfIntegrationTest: test_authorized_if_true_is_given
789
+ ------------------------------------------------------------
790
+ Started GET "/show_authorized" for 127.0.0.1 at 2016-01-23 21:57:22 +0700
791
+ Processing by HomeController#show_authorized as HTML
792
+ Completed 200 OK in 0ms
793
+ ------------------------------------------------------------
794
+ AuthorizeIfIntegrationTest: test_authorized_if_true_is_given
795
+ ------------------------------------------------------------
796
+ Started GET "/show_authorized" for 127.0.0.1 at 2016-01-23 21:57:38 +0700
797
+ Processing by HomeController#show_authorized as HTML
798
+ Completed 200 OK in 0ms
799
+ ---------------------------------------------------------------
800
+ AuthorizeIfIntegrationTest: test_unauthorized_if_false_is_given
801
+ ---------------------------------------------------------------
802
+ Started GET "/show_unauthorized" for 127.0.0.1 at 2016-01-23 21:57:38 +0700
803
+ Processing by HomeController#show_unauthorized as HTML
804
+ Completed 500 Internal Server Error in 0ms
805
+ ------------------------------------------------------------
806
+ AuthorizeIfIntegrationTest: test_authorized_if_true_is_given
807
+ ------------------------------------------------------------
808
+ Started GET "/show_authorized" for 127.0.0.1 at 2016-01-23 21:58:40 +0700
809
+ Processing by HomeController#show_authorized as HTML
810
+ Completed 200 OK in 0ms
811
+ ---------------------------------------------------------------
812
+ AuthorizeIfIntegrationTest: test_unauthorized_if_false_is_given
813
+ ---------------------------------------------------------------
814
+ Started GET "/show_unauthorized" for 127.0.0.1 at 2016-01-23 21:58:40 +0700
815
+ Processing by HomeController#show_unauthorized as HTML
816
+ Completed 500 Internal Server Error in 3ms
817
+ ---------------------------------------------------------------
818
+ AuthorizeIfIntegrationTest: test_unauthorized_if_false_is_given
819
+ ---------------------------------------------------------------
820
+ Started GET "/show_unauthorized" for 127.0.0.1 at 2016-01-23 21:59:02 +0700
821
+ Processing by HomeController#show_unauthorized as HTML
822
+ Completed 500 Internal Server Error in 0ms
823
+ ------------------------------------------------------------
824
+ AuthorizeIfIntegrationTest: test_authorized_if_true_is_given
825
+ ------------------------------------------------------------
826
+ Started GET "/show_authorized" for 127.0.0.1 at 2016-01-23 21:59:02 +0700
827
+ Processing by HomeController#show_authorized as HTML
828
+ Completed 200 OK in 0ms
829
+ ------------------------------------------------------------
830
+ AuthorizeIfIntegrationTest: test_authorized_if_true_is_given
831
+ ------------------------------------------------------------
832
+ Started GET "/show_authorized" for 127.0.0.1 at 2016-01-23 22:21:01 +0700
833
+ Processing by HomeController#show_authorized as HTML
834
+ Completed 200 OK in 0ms
835
+ ---------------------------------------------------------------
836
+ AuthorizeIfIntegrationTest: test_unauthorized_if_false_is_given
837
+ ---------------------------------------------------------------
838
+ Started GET "/show_unauthorized" for 127.0.0.1 at 2016-01-23 22:21:01 +0700
839
+ Processing by HomeController#show_unauthorized as HTML
840
+ Completed 500 Internal Server Error in 0ms
841
+ ---------------------------------------------------------------
842
+ AuthorizeIfIntegrationTest: test_unauthorized_if_false_is_given
843
+ ---------------------------------------------------------------
844
+ Started GET "/show_unauthorized" for 127.0.0.1 at 2016-01-23 22:25:32 +0700
845
+ Processing by HomeController#show_unauthorized as HTML
846
+ Completed 500 Internal Server Error in 1ms
847
+ ------------------------------------------------------------
848
+ AuthorizeIfIntegrationTest: test_authorized_if_true_is_given
849
+ ------------------------------------------------------------
850
+ Started GET "/show_authorized" for 127.0.0.1 at 2016-01-23 22:25:32 +0700
851
+ Processing by HomeController#show_authorized as HTML
852
+ Completed 200 OK in 0ms
853
+ ---------------------------------------------------------------
854
+ AuthorizeIfIntegrationTest: test_unauthorized_if_false_is_given
855
+ ---------------------------------------------------------------
856
+ Started GET "/show_unauthorized" for 127.0.0.1 at 2016-01-23 22:25:44 +0700
857
+ Processing by HomeController#show_unauthorized as HTML
858
+ Completed 500 Internal Server Error in 1ms
859
+ ------------------------------------------------------------
860
+ AuthorizeIfIntegrationTest: test_authorized_if_true_is_given
861
+ ------------------------------------------------------------
862
+ Started GET "/show_authorized" for 127.0.0.1 at 2016-01-23 22:25:44 +0700
863
+ Processing by HomeController#show_authorized as HTML
864
+ Completed 200 OK in 0ms
865
+ ------------------------------------------------------------
866
+ AuthorizeIfIntegrationTest: test_authorized_if_true_is_given
867
+ ------------------------------------------------------------
868
+ Started GET "/show_authorized" for 127.0.0.1 at 2016-01-23 22:26:31 +0700
869
+ Processing by HomeController#show_authorized as HTML
870
+ Completed 200 OK in 0ms
871
+ ---------------------------------------------------------------
872
+ AuthorizeIfIntegrationTest: test_unauthorized_if_false_is_given
873
+ ---------------------------------------------------------------
874
+ Started GET "/show_unauthorized" for 127.0.0.1 at 2016-01-23 22:26:31 +0700
875
+ Processing by HomeController#show_unauthorized as HTML
876
+ Completed 500 Internal Server Error in 0ms
877
+ ------------------------------------------------------------
878
+ AuthorizeIfIntegrationTest: test_authorized_if_true_is_given
879
+ ------------------------------------------------------------
880
+ Started GET "/show_authorized" for 127.0.0.1 at 2016-01-23 22:40:00 +0700
881
+ Processing by HomeController#show_authorized as HTML
882
+ Completed 200 OK in 0ms
883
+ ---------------------------------------------------------------
884
+ AuthorizeIfIntegrationTest: test_unauthorized_if_false_is_given
885
+ ---------------------------------------------------------------
886
+ Started GET "/show_unauthorized" for 127.0.0.1 at 2016-01-23 22:40:00 +0700
887
+ Processing by HomeController#show_unauthorized as HTML
888
+ Completed 500 Internal Server Error in 0ms
889
+ ------------------------------------------------------------
890
+ AuthorizeIfIntegrationTest: test_authorized_if_true_is_given
891
+ ------------------------------------------------------------
892
+ ---------------------------------------------------------------
893
+ AuthorizeIfIntegrationTest: test_unauthorized_if_false_is_given
894
+ ---------------------------------------------------------------
895
+ ------------------------------------------------------------
896
+ AuthorizeIfIntegrationTest: test_authorizes_if_true_is_given
897
+ ------------------------------------------------------------
898
+ Started GET "/articles?authorized=true" for 127.0.0.1 at 2016-01-30 23:09:30 +0700
899
+ ------------------------------------------------------------
900
+ AuthorizeIfIntegrationTest: test_authorizes_if_true_is_given
901
+ ------------------------------------------------------------
902
+ Started GET "/articles?authorized=true" for 127.0.0.1 at 2016-01-30 23:11:02 +0700
903
+ Processing by ArticlesController#index as HTML
904
+ Parameters: {"authorized"=>"true"}
905
+ Completed 500 Internal Server Error in 3ms
906
+ ------------------------------------------------------------
907
+ AuthorizeIfIntegrationTest: test_authorizes_if_true_is_given
908
+ ------------------------------------------------------------
909
+ Started GET "/articles?authorized=true" for 127.0.0.1 at 2016-01-30 23:14:50 +0700
910
+ Processing by ArticlesController#index as HTML
911
+ Parameters: {"authorized"=>"true"}
912
+ Completed 500 Internal Server Error in 3ms
913
+ ------------------------------------------------------------
914
+ AuthorizeIfIntegrationTest: test_authorizes_if_true_is_given
915
+ ------------------------------------------------------------
916
+ Started GET "/articles?authorized=true" for 127.0.0.1 at 2016-01-30 23:15:09 +0700
917
+ Processing by ArticlesController#index as HTML
918
+ Parameters: {"authorized"=>"true"}
919
+ Completed 500 Internal Server Error in 7ms
920
+ ------------------------------------------------------------
921
+ AuthorizeIfIntegrationTest: test_authorizes_if_true_is_given
922
+ ------------------------------------------------------------
923
+ Started GET "/articles?authorized=true" for 127.0.0.1 at 2016-01-30 23:15:17 +0700
924
+ Processing by ArticlesController#index as HTML
925
+ Parameters: {"authorized"=>"true"}
926
+ Completed 500 Internal Server Error in 33383ms
927
+ ------------------------------------------------------------
928
+ AuthorizeIfIntegrationTest: test_authorizes_if_true_is_given
929
+ ------------------------------------------------------------
930
+ Started GET "/articles?authorized=true" for 127.0.0.1 at 2016-01-30 23:16:58 +0700
931
+ Processing by ArticlesController#index as HTML
932
+ Parameters: {"authorized"=>"true"}
933
+ Completed 200 OK in 0ms
934
+ -----------------------------------------------------------------------
935
+ AuthorizeIfIntegrationTest: test_renders_custom_error_if_false_is_given
936
+ -----------------------------------------------------------------------
937
+ Started GET "/articles?authorized=false" for 127.0.0.1 at 2016-01-30 23:18:37 +0700
938
+ Processing by ArticlesController#index as HTML
939
+ Parameters: {"authorized"=>"false"}
940
+ Completed 200 OK in 0ms
941
+ -----------------------------------------------------------------------
942
+ AuthorizeIfIntegrationTest: test_renders_custom_error_if_false_is_given
943
+ -----------------------------------------------------------------------
944
+ Started GET "/articles?authorized=false" for 127.0.0.1 at 2016-01-30 23:18:45 +0700
945
+ Processing by ArticlesController#index as HTML
946
+ Parameters: {"authorized"=>"false"}
947
+ Completed 200 OK in 0ms
948
+ -----------------------------------------------------------------------
949
+ AuthorizeIfIntegrationTest: test_renders_custom_error_if_false_is_given
950
+ -----------------------------------------------------------------------
951
+ Started GET "/articles?authorized=false" for 127.0.0.1 at 2016-01-30 23:18:56 +0700
952
+ Processing by ArticlesController#index as HTML
953
+ Parameters: {"authorized"=>"false"}
954
+ Completed 200 OK in 0ms
955
+ -----------------------------------------------------------------------
956
+ AuthorizeIfIntegrationTest: test_renders_custom_error_if_false_is_given
957
+ -----------------------------------------------------------------------
958
+ Started GET "/articles?authorized=false" for 127.0.0.1 at 2016-01-30 23:19:04 +0700
959
+ Processing by ArticlesController#index as HTML
960
+ Parameters: {"authorized"=>"false"}
961
+ Completed 200 OK in 0ms
962
+ -----------------------------------------------------------------------
963
+ AuthorizeIfIntegrationTest: test_renders_custom_error_if_false_is_given
964
+ -----------------------------------------------------------------------
965
+ Started GET "/articles" for 127.0.0.1 at 2016-01-30 23:20:37 +0700
966
+ Processing by ArticlesController#index as HTML
967
+ Completed 500 Internal Server Error in 2ms
968
+ -----------------------------------------------------------------------
969
+ AuthorizeIfIntegrationTest: test_renders_custom_error_if_false_is_given
970
+ -----------------------------------------------------------------------
971
+ Started GET "/articles" for 127.0.0.1 at 2016-01-30 23:23:43 +0700
972
+ Processing by ArticlesController#index as HTML
973
+ Completed 500 Internal Server Error in 2ms
974
+
975
+ AuthorizeIf::NotAuthorizedError (You are not authorized to 'index'):
976
+ app/controllers/articles_controller.rb:3:in `index'
977
+ test/integration/authorize_if_integration_test.rb:10:in `block in <class:AuthorizeIfIntegrationTest>'
978
+
979
+
980
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.1ms)
981
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms)
982
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (11.5ms)
983
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (59.2ms)
984
+ -----------------------------------------------------------------------
985
+ AuthorizeIfIntegrationTest: test_renders_custom_error_if_false_is_given
986
+ -----------------------------------------------------------------------
987
+ Started GET "/articles" for 127.0.0.1 at 2016-01-30 23:23:58 +0700
988
+ Processing by ArticlesController#index as HTML
989
+ Completed 500 Internal Server Error in 2ms
990
+
991
+ AuthorizeIf::NotAuthorizedError (You are not authorized to 'index'):
992
+ app/controllers/articles_controller.rb:3:in `index'
993
+ test/integration/authorize_if_integration_test.rb:10:in `block in <class:AuthorizeIfIntegrationTest>'
994
+
995
+
996
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.0ms)
997
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms)
998
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (7.1ms)
999
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (48.8ms)
1000
+ -----------------------------------------------------------------------
1001
+ AuthorizeIfIntegrationTest: test_renders_custom_error_if_false_is_given
1002
+ -----------------------------------------------------------------------
1003
+ Started GET "/articles" for 127.0.0.1 at 2016-01-30 23:24:20 +0700
1004
+ Processing by ArticlesController#index as HTML
1005
+ Rendered text template (0.0ms)
1006
+ Completed 403 Forbidden in 4ms (Views: 4.3ms)
1007
+ -----------------------------------------------------------------------
1008
+ AuthorizeIfIntegrationTest: test_renders_custom_error_if_false_is_given
1009
+ -----------------------------------------------------------------------
1010
+ Started GET "/articles" for 127.0.0.1 at 2016-01-30 23:24:35 +0700
1011
+ Processing by ArticlesController#index as HTML
1012
+ Rendered text template (0.0ms)
1013
+ Completed 403 Forbidden in 5ms (Views: 4.4ms)
1014
+ -----------------------------------------------------------------------
1015
+ AuthorizeIfIntegrationTest: test_renders_custom_error_if_false_is_given
1016
+ -----------------------------------------------------------------------
1017
+ Started GET "/articles" for 127.0.0.1 at 2016-01-30 23:25:32 +0700
1018
+ Processing by ArticlesController#index as HTML
1019
+ Rendered text template (0.0ms)
1020
+ Completed 403 Forbidden in 5ms (Views: 4.3ms)
1021
+ -----------------------------------------------------------------------
1022
+ AuthorizeIfIntegrationTest: test_renders_custom_error_if_false_is_given
1023
+ -----------------------------------------------------------------------
1024
+ Started GET "/articles?error_message=Custom+12+error+message" for 127.0.0.1 at 2016-01-30 23:30:30 +0700
1025
+ Processing by ArticlesController#index as HTML
1026
+ Parameters: {"error_message"=>"Custom 12 error message"}
1027
+ Rendered text template (0.0ms)
1028
+ Completed 403 Forbidden in 5ms (Views: 4.7ms)
1029
+ -----------------------------------------------------------------------
1030
+ AuthorizeIfIntegrationTest: test_renders_custom_error_if_false_is_given
1031
+ -----------------------------------------------------------------------
1032
+ Started GET "/articles?error_message=Custom+31+error+message" for 127.0.0.1 at 2016-01-30 23:30:47 +0700
1033
+ Processing by ArticlesController#index as HTML
1034
+ Parameters: {"error_message"=>"Custom 31 error message"}
1035
+ Rendered text template (0.0ms)
1036
+ Completed 403 Forbidden in 5ms (Views: 4.6ms)
1037
+ ------------------------------------------------------------
1038
+ AuthorizeIfIntegrationTest: test_authorizes_if_true_is_given
1039
+ ------------------------------------------------------------
1040
+ Started GET "/articles?authorized=true" for 127.0.0.1 at 2016-01-30 23:35:11 +0700
1041
+
1042
+ SyntaxError (/Users/vrybas/Projects/github/sources/authorize_if/test/dummy/app/controllers/articles_controller.rb:21: syntax error, unexpected end-of-input, expecting keyword_end):
1043
+ app/controllers/articles_controller.rb:21: syntax error, unexpected end-of-input, expecting keyword_end
1044
+ test/integration/authorize_if_integration_test.rb:6:in `block in <class:AuthorizeIfIntegrationTest>'
1045
+
1046
+
1047
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.7ms)
1048
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
1049
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (7.1ms)
1050
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (50.4ms)
1051
+ -----------------------------------------------------------------------
1052
+ AuthorizeIfIntegrationTest: test_renders_custom_error_if_false_is_given
1053
+ -----------------------------------------------------------------------
1054
+ Started GET "/articles?error_message=Custom+20+error+message" for 127.0.0.1 at 2016-01-30 23:35:11 +0700
1055
+
1056
+ SyntaxError (/Users/vrybas/Projects/github/sources/authorize_if/test/dummy/app/controllers/articles_controller.rb:21: syntax error, unexpected end-of-input, expecting keyword_end):
1057
+ app/controllers/articles_controller.rb:21: syntax error, unexpected end-of-input, expecting keyword_end
1058
+ test/integration/authorize_if_integration_test.rb:13:in `block in <class:AuthorizeIfIntegrationTest>'
1059
+
1060
+
1061
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.7ms)
1062
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms)
1063
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms)
1064
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (35.3ms)
1065
+ -------------------------------------------------------------------
1066
+ AuthorizeIfIntegrationTest: test_#index_authorizes_if_true_is_given
1067
+ -------------------------------------------------------------------
1068
+ Started GET "/articles?authorized=true" for 127.0.0.1 at 2016-01-30 23:35:25 +0700
1069
+
1070
+ SyntaxError (/Users/vrybas/Projects/github/sources/authorize_if/test/dummy/app/controllers/articles_controller.rb:21: syntax error, unexpected end-of-input, expecting keyword_end):
1071
+ app/controllers/articles_controller.rb:21: syntax error, unexpected end-of-input, expecting keyword_end
1072
+ test/integration/authorize_if_integration_test.rb:5:in `block in <class:AuthorizeIfIntegrationTest>'
1073
+
1074
+
1075
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.7ms)
1076
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms)
1077
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (7.0ms)
1078
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (42.9ms)
1079
+ ------------------------------------------------------------------------------
1080
+ AuthorizeIfIntegrationTest: test_#index_renders_custom_error_if_false_is_given
1081
+ ------------------------------------------------------------------------------
1082
+ Started GET "/articles?error_message=Custom+56+error+message" for 127.0.0.1 at 2016-01-30 23:35:25 +0700
1083
+
1084
+ SyntaxError (/Users/vrybas/Projects/github/sources/authorize_if/test/dummy/app/controllers/articles_controller.rb:21: syntax error, unexpected end-of-input, expecting keyword_end):
1085
+ app/controllers/articles_controller.rb:21: syntax error, unexpected end-of-input, expecting keyword_end
1086
+ test/integration/authorize_if_integration_test.rb:12:in `block in <class:AuthorizeIfIntegrationTest>'
1087
+
1088
+
1089
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.8ms)
1090
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
1091
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms)
1092
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (35.3ms)
1093
+ ------------------------------------------------------------
1094
+ AuthorizeIfIntegrationTest: test_authorizes_if_true_is_given
1095
+ ------------------------------------------------------------
1096
+ Started GET "/articles?authorized=true" for 127.0.0.1 at 2016-01-30 23:35:36 +0700
1097
+
1098
+ SyntaxError (/Users/vrybas/Projects/github/sources/authorize_if/test/dummy/app/controllers/articles_controller.rb:21: syntax error, unexpected end-of-input, expecting keyword_end):
1099
+ app/controllers/articles_controller.rb:21: syntax error, unexpected end-of-input, expecting keyword_end
1100
+ test/integration/authorize_if_integration_test.rb:5:in `block in <class:AuthorizeIfIntegrationTest>'
1101
+
1102
+
1103
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.7ms)
1104
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms)
1105
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (7.1ms)
1106
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (42.7ms)
1107
+ -----------------------------------------------------------------------
1108
+ AuthorizeIfIntegrationTest: test_renders_custom_error_if_false_is_given
1109
+ -----------------------------------------------------------------------
1110
+ Started GET "/articles?error_message=Custom+64+error+message" for 127.0.0.1 at 2016-01-30 23:35:37 +0700
1111
+
1112
+ SyntaxError (/Users/vrybas/Projects/github/sources/authorize_if/test/dummy/app/controllers/articles_controller.rb:21: syntax error, unexpected end-of-input, expecting keyword_end):
1113
+ app/controllers/articles_controller.rb:21: syntax error, unexpected end-of-input, expecting keyword_end
1114
+ test/integration/authorize_if_integration_test.rb:12:in `block in <class:AuthorizeIfIntegrationTest>'
1115
+
1116
+
1117
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.5ms)
1118
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms)
1119
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms)
1120
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (43.4ms)
1121
+ ------------------------------------------------------------
1122
+ AuthorizeIfIntegrationTest: test_authorizes_if_true_is_given
1123
+ ------------------------------------------------------------
1124
+ Started GET "/articles?authorized=true" for 127.0.0.1 at 2016-01-30 23:35:57 +0700
1125
+ Processing by ArticlesController#index as HTML
1126
+ Parameters: {"authorized"=>"true"}
1127
+ Completed 200 OK in 0ms
1128
+ -----------------------------------------------------------------------
1129
+ AuthorizeIfIntegrationTest: test_renders_custom_error_if_false_is_given
1130
+ -----------------------------------------------------------------------
1131
+ Started GET "/articles?error_message=Custom+23+error+message" for 127.0.0.1 at 2016-01-30 23:35:57 +0700
1132
+ Processing by ArticlesController#index as HTML
1133
+ Parameters: {"error_message"=>"Custom 23 error message"}
1134
+ Rendered text template (0.0ms)
1135
+ Completed 403 Forbidden in 5ms (Views: 4.5ms)
1136
+ ------------------------------------------------------------
1137
+ AuthorizeIfIntegrationTest: test_authorizes_if_true_is_given
1138
+ ------------------------------------------------------------
1139
+ Started GET "/articles?authorized=true" for 127.0.0.1 at 2016-01-30 23:36:05 +0700
1140
+ Processing by ArticlesController#index as HTML
1141
+ Parameters: {"authorized"=>"true"}
1142
+ Completed 200 OK in 0ms
1143
+ -----------------------------------------------------------------------
1144
+ AuthorizeIfIntegrationTest: test_renders_custom_error_if_false_is_given
1145
+ -----------------------------------------------------------------------
1146
+ Started GET "/articles?error_message=Custom+81+error+message" for 127.0.0.1 at 2016-01-30 23:36:05 +0700
1147
+ Processing by ArticlesController#index as HTML
1148
+ Parameters: {"error_message"=>"Custom 81 error message"}
1149
+ Rendered text template (0.0ms)
1150
+ Completed 403 Forbidden in 5ms (Views: 4.4ms)
1151
+ ------------------------------------------------------------
1152
+ AuthorizeIfIntegrationTest: test_authorizes_if_true_is_given
1153
+ ------------------------------------------------------------
1154
+ Started GET "/articles?authorized=true" for 127.0.0.1 at 2016-01-30 23:37:24 +0700
1155
+ Processing by ArticlesController#index as HTML
1156
+ Parameters: {"authorized"=>"true"}
1157
+ Completed 200 OK in 0ms
1158
+ -----------------------------------------------------------------------
1159
+ AuthorizeIfIntegrationTest: test_renders_custom_error_if_false_is_given
1160
+ -----------------------------------------------------------------------
1161
+ Started GET "/articles?error_message=Custom+97+error+message" for 127.0.0.1 at 2016-01-30 23:37:24 +0700
1162
+ Processing by ArticlesController#index as HTML
1163
+ Parameters: {"error_message"=>"Custom 97 error message"}
1164
+ Rendered text template (0.0ms)
1165
+ Completed 403 Forbidden in 4ms (Views: 4.3ms)
1166
+ ------------------------------------------------------------
1167
+ AuthorizeIfIntegrationTest: test_authorizes_if_true_is_given
1168
+ ------------------------------------------------------------
1169
+ Started GET "/articles?authorized=true" for 127.0.0.1 at 2016-01-30 23:37:38 +0700
1170
+ Processing by ArticlesController#index as HTML
1171
+ Parameters: {"authorized"=>"true"}
1172
+ Completed 200 OK in 0ms
1173
+ -----------------------------------------------------------------------
1174
+ AuthorizeIfIntegrationTest: test_renders_custom_error_if_false_is_given
1175
+ -----------------------------------------------------------------------
1176
+ Started GET "/articles?error_message=Custom+3+error+message" for 127.0.0.1 at 2016-01-30 23:37:38 +0700
1177
+ Processing by ArticlesController#index as HTML
1178
+ Parameters: {"error_message"=>"Custom 3 error message"}
1179
+ Rendered text template (0.0ms)
1180
+ Completed 403 Forbidden in 6ms (Views: 5.7ms)
1181
+ ------------------------------------------------------------
1182
+ AuthorizeIfIntegrationTest: test_authorizes_if_true_is_given
1183
+ ------------------------------------------------------------
1184
+ Started GET "/articles?authorized=true" for 127.0.0.1 at 2016-01-30 23:37:41 +0700
1185
+ Processing by ArticlesController#index as HTML
1186
+ Parameters: {"authorized"=>"true"}
1187
+ Completed 200 OK in 0ms
1188
+ -----------------------------------------------------------------------
1189
+ AuthorizeIfIntegrationTest: test_renders_custom_error_if_false_is_given
1190
+ -----------------------------------------------------------------------
1191
+ Started GET "/articles?error_message=Custom+99+error+message" for 127.0.0.1 at 2016-01-30 23:37:41 +0700
1192
+ Processing by ArticlesController#index as HTML
1193
+ Parameters: {"error_message"=>"Custom 99 error message"}
1194
+ Rendered text template (0.0ms)
1195
+ Completed 403 Forbidden in 5ms (Views: 4.4ms)
1196
+ ------------------------------------------------------------------------------------
1197
+ AuthorizeIfIntegrationTest: test_index_action_renders_custom_error_if_false_is_given
1198
+ ------------------------------------------------------------------------------------
1199
+ Started GET "/articles?error_message=Custom+40+error+message" for 127.0.0.1 at 2016-01-30 23:41:10 +0700
1200
+ Processing by ArticlesController#index as HTML
1201
+ Parameters: {"error_message"=>"Custom 40 error message"}
1202
+ Rendered text template (0.0ms)
1203
+ Completed 403 Forbidden in 5ms (Views: 4.4ms)
1204
+ ---------------------------------------------------------------------------
1205
+ AuthorizeIfIntegrationTest: test_show_action_is_authorized_if_true_is_given
1206
+ ---------------------------------------------------------------------------
1207
+ Started GET "/articles/1?authorized=true" for 127.0.0.1 at 2016-01-30 23:41:10 +0700
1208
+ Processing by ArticlesController#show as HTML
1209
+ Parameters: {"authorized"=>"true", "id"=>"1"}
1210
+ Rendered text template (0.0ms)
1211
+ Completed 403 Forbidden in 1ms (Views: 0.3ms)
1212
+ -----------------------------------------------------------------------------------
1213
+ AuthorizeIfIntegrationTest: test_show_action_renders_custom_error_if_false_is_given
1214
+ -----------------------------------------------------------------------------------
1215
+ Started GET "/articles/1?error_message=Custom+0+error+message" for 127.0.0.1 at 2016-01-30 23:41:10 +0700
1216
+ Processing by ArticlesController#show as HTML
1217
+ Parameters: {"error_message"=>"Custom 0 error message", "id"=>"1"}
1218
+ Rendered text template (0.0ms)
1219
+ Completed 403 Forbidden in 0ms (Views: 0.2ms)
1220
+ ----------------------------------------------------------------------------
1221
+ AuthorizeIfIntegrationTest: test_index_action_is_authorized_if_true_is_given
1222
+ ----------------------------------------------------------------------------
1223
+ Started GET "/articles?authorized=true" for 127.0.0.1 at 2016-01-30 23:41:10 +0700
1224
+ Processing by ArticlesController#index as HTML
1225
+ Parameters: {"authorized"=>"true"}
1226
+ Completed 200 OK in 0ms
1227
+ ---------------------------------------------------------------------------
1228
+ AuthorizeIfIntegrationTest: test_show_action_is_authorized_if_true_is_given
1229
+ ---------------------------------------------------------------------------
1230
+ Started GET "/articles/1?authorized=true" for 127.0.0.1 at 2016-01-30 23:44:18 +0700
1231
+ Processing by ArticlesController#show as HTML
1232
+ Parameters: {"authorized"=>"true", "id"=>"1"}
1233
+ Rendered text template (0.0ms)
1234
+ Completed 403 Forbidden in 5ms (Views: 4.5ms)
1235
+ ---------------------------------------------------------------------------
1236
+ AuthorizeIfIntegrationTest: test_show_action_is_authorized_if_true_is_given
1237
+ ---------------------------------------------------------------------------
1238
+ Started GET "/articles/1?authorized=true" for 127.0.0.1 at 2016-01-30 23:44:32 +0700
1239
+ Processing by ArticlesController#show as HTML
1240
+ Parameters: {"authorized"=>"true", "id"=>"1"}
1241
+ Completed 500 Internal Server Error in 6ms
1242
+
1243
+ ActionView::MissingTemplate (Missing template articles/show, application/show with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
1244
+ * "/Users/vrybas/Projects/github/sources/authorize_if/test/dummy/app/views"
1245
+ ):
1246
+ test/integration/authorize_if_integration_test.rb:21:in `block in <class:AuthorizeIfIntegrationTest>'
1247
+
1248
+
1249
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.9ms)
1250
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms)
1251
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (7.4ms)
1252
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (54.9ms)
1253
+ ---------------------------------------------------------------------------
1254
+ AuthorizeIfIntegrationTest: test_show_action_is_authorized_if_true_is_given
1255
+ ---------------------------------------------------------------------------
1256
+ Started GET "/articles/1?authorized=true" for 127.0.0.1 at 2016-01-30 23:45:04 +0700
1257
+ Processing by ArticlesController#show as HTML
1258
+ Parameters: {"authorized"=>"true", "id"=>"1"}
1259
+ Rendered text template (0.0ms)
1260
+ Completed 403 Forbidden in 243532ms (Views: 9.7ms)
1261
+ ---------------------------------------------------------------------------
1262
+ AuthorizeIfIntegrationTest: test_show_action_is_authorized_if_true_is_given
1263
+ ---------------------------------------------------------------------------
1264
+ Started GET "/articles/1?authorized=true" for 127.0.0.1 at 2016-01-30 23:49:14 +0700
1265
+ Processing by ArticlesController#show as HTML
1266
+ Parameters: {"authorized"=>"true", "id"=>"1"}
1267
+ Completed 500 Internal Server Error in 9ms
1268
+
1269
+ ActionView::MissingTemplate (Missing template articles/show, application/show with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
1270
+ * "/Users/vrybas/Projects/github/sources/authorize_if/test/dummy/app/views"
1271
+ ):
1272
+ test/integration/authorize_if_integration_test.rb:21:in `block in <class:AuthorizeIfIntegrationTest>'
1273
+
1274
+
1275
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.8ms)
1276
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms)
1277
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (7.3ms)
1278
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (50.1ms)
1279
+ ---------------------------------------------------------------------------
1280
+ AuthorizeIfIntegrationTest: test_show_action_is_authorized_if_true_is_given
1281
+ ---------------------------------------------------------------------------
1282
+ Started GET "/articles/1?authorized=true" for 127.0.0.1 at 2016-01-30 23:49:34 +0700
1283
+ Processing by ArticlesController#show as HTML
1284
+ Parameters: {"authorized"=>"true", "id"=>"1"}
1285
+ Completed 500 Internal Server Error in 6ms
1286
+ ---------------------------------------------------------------------------
1287
+ AuthorizeIfIntegrationTest: test_show_action_is_authorized_if_true_is_given
1288
+ ---------------------------------------------------------------------------
1289
+ Started GET "/articles/1?authorized=true" for 127.0.0.1 at 2016-01-30 23:49:59 +0700
1290
+ Processing by ArticlesController#show as HTML
1291
+ Parameters: {"authorized"=>"true", "id"=>"1"}
1292
+ Completed 200 OK in 0ms
1293
+ -----------------------------------------------------------------------------------
1294
+ AuthorizeIfIntegrationTest: test_show_action_renders_custom_error_if_false_is_given
1295
+ -----------------------------------------------------------------------------------
1296
+ Started GET "/articles/1?error_message=Custom+94+error+message" for 127.0.0.1 at 2016-01-30 23:50:09 +0700
1297
+ Processing by ArticlesController#show as HTML
1298
+ Parameters: {"error_message"=>"Custom 94 error message", "id"=>"1"}
1299
+ Rendered text template (0.0ms)
1300
+ Completed 403 Forbidden in 5ms (Views: 4.5ms)
1301
+ ----------------------------------------------------------------------------
1302
+ AuthorizeIfIntegrationTest: test_index_action_is_authorized_if_true_is_given
1303
+ ----------------------------------------------------------------------------
1304
+ Started GET "/articles?authorized=true" for 127.0.0.1 at 2016-01-30 23:50:13 +0700
1305
+ Processing by ArticlesController#index as HTML
1306
+ Parameters: {"authorized"=>"true"}
1307
+ Completed 200 OK in 0ms
1308
+ ---------------------------------------------------------------------------
1309
+ AuthorizeIfIntegrationTest: test_show_action_is_authorized_if_true_is_given
1310
+ ---------------------------------------------------------------------------
1311
+ Started GET "/articles/1?authorized=true" for 127.0.0.1 at 2016-01-30 23:50:13 +0700
1312
+ Processing by ArticlesController#show as HTML
1313
+ Parameters: {"authorized"=>"true", "id"=>"1"}
1314
+ Completed 200 OK in 0ms
1315
+ -----------------------------------------------------------------------------------
1316
+ AuthorizeIfIntegrationTest: test_show_action_renders_custom_error_if_false_is_given
1317
+ -----------------------------------------------------------------------------------
1318
+ Started GET "/articles/1?error_message=Custom+60+error+message" for 127.0.0.1 at 2016-01-30 23:50:13 +0700
1319
+ Processing by ArticlesController#show as HTML
1320
+ Parameters: {"error_message"=>"Custom 60 error message", "id"=>"1"}
1321
+ Rendered text template (0.0ms)
1322
+ Completed 403 Forbidden in 4ms (Views: 4.2ms)
1323
+ ------------------------------------------------------------------------------------
1324
+ AuthorizeIfIntegrationTest: test_index_action_renders_custom_error_if_false_is_given
1325
+ ------------------------------------------------------------------------------------
1326
+ Started GET "/articles?error_message=Custom+35+error+message" for 127.0.0.1 at 2016-01-30 23:50:13 +0700
1327
+ Processing by ArticlesController#index as HTML
1328
+ Parameters: {"error_message"=>"Custom 35 error message"}
1329
+ Rendered text template (0.0ms)
1330
+ Completed 403 Forbidden in 0ms (Views: 0.2ms)
1331
+ -----------------------------------------------------------------------------------
1332
+ AuthorizeIfIntegrationTest: test_show_action_renders_custom_error_if_false_is_given
1333
+ -----------------------------------------------------------------------------------
1334
+ Started GET "/articles/1?error_message=Custom+75+error+message" for 127.0.0.1 at 2016-01-31 11:06:03 +0700
1335
+ Processing by ArticlesController#show as HTML
1336
+ Parameters: {"error_message"=>"Custom 75 error message", "id"=>"1"}
1337
+ Rendered text template (0.0ms)
1338
+ Completed 403 Forbidden in 10ms (Views: 10.0ms)
1339
+ ----------------------------------------------------------------------------
1340
+ AuthorizeIfIntegrationTest: test_index_action_is_authorized_if_true_is_given
1341
+ ----------------------------------------------------------------------------
1342
+ Started GET "/articles?authorized=true" for 127.0.0.1 at 2016-01-31 11:06:03 +0700
1343
+ Processing by ArticlesController#index as HTML
1344
+ Parameters: {"authorized"=>"true"}
1345
+ Completed 200 OK in 0ms
1346
+ ------------------------------------------------------------------------------------
1347
+ AuthorizeIfIntegrationTest: test_index_action_renders_custom_error_if_false_is_given
1348
+ ------------------------------------------------------------------------------------
1349
+ Started GET "/articles?error_message=Custom+50+error+message" for 127.0.0.1 at 2016-01-31 11:06:03 +0700
1350
+ Processing by ArticlesController#index as HTML
1351
+ Parameters: {"error_message"=>"Custom 50 error message"}
1352
+ Rendered text template (0.0ms)
1353
+ Completed 403 Forbidden in 0ms (Views: 0.3ms)
1354
+ ---------------------------------------------------------------------------
1355
+ AuthorizeIfIntegrationTest: test_show_action_is_authorized_if_true_is_given
1356
+ ---------------------------------------------------------------------------
1357
+ Started GET "/articles/1?authorized=true" for 127.0.0.1 at 2016-01-31 11:06:03 +0700
1358
+ Processing by ArticlesController#show as HTML
1359
+ Parameters: {"authorized"=>"true", "id"=>"1"}
1360
+ Rendered text template (0.0ms)
1361
+ Completed 403 Forbidden in 1ms (Views: 0.3ms)
1362
+ ----------------------------------------------------------------------------
1363
+ AuthorizeIfIntegrationTest: test_index_action_is_authorized_if_true_is_given
1364
+ ----------------------------------------------------------------------------
1365
+ Started GET "/articles?authorized=true" for 127.0.0.1 at 2016-01-31 11:06:23 +0700
1366
+ Processing by ArticlesController#index as HTML
1367
+ Parameters: {"authorized"=>"true"}
1368
+ Completed 200 OK in 0ms
1369
+ ------------------------------------------------------------------------------------
1370
+ AuthorizeIfIntegrationTest: test_index_action_renders_custom_error_if_false_is_given
1371
+ ------------------------------------------------------------------------------------
1372
+ Started GET "/articles?error_message=Custom+51+error+message" for 127.0.0.1 at 2016-01-31 11:06:23 +0700
1373
+ Processing by ArticlesController#index as HTML
1374
+ Parameters: {"error_message"=>"Custom 51 error message"}
1375
+ Rendered text template (0.0ms)
1376
+ Completed 403 Forbidden in 5ms (Views: 4.4ms)
1377
+ ---------------------------------------------------------------------------
1378
+ AuthorizeIfIntegrationTest: test_show_action_is_authorized_if_true_is_given
1379
+ ---------------------------------------------------------------------------
1380
+ Started GET "/articles/1?authorized=true" for 127.0.0.1 at 2016-01-31 11:06:23 +0700
1381
+ Processing by ArticlesController#show as HTML
1382
+ Parameters: {"authorized"=>"true", "id"=>"1"}
1383
+ Completed 200 OK in 0ms
1384
+ -----------------------------------------------------------------------------------
1385
+ AuthorizeIfIntegrationTest: test_show_action_renders_custom_error_if_false_is_given
1386
+ -----------------------------------------------------------------------------------
1387
+ Started GET "/articles/1?error_message=Custom+54+error+message" for 127.0.0.1 at 2016-01-31 11:06:23 +0700
1388
+ Processing by ArticlesController#show as HTML
1389
+ Parameters: {"error_message"=>"Custom 54 error message", "id"=>"1"}
1390
+ Rendered text template (0.0ms)
1391
+ Completed 403 Forbidden in 0ms (Views: 0.3ms)
1392
+ ----------------------------------------------------------------------------
1393
+ AuthorizeIfIntegrationTest: test_index_action_is_authorized_if_true_is_given
1394
+ ----------------------------------------------------------------------------
1395
+ Started GET "/articles?authorized=true" for 127.0.0.1 at 2016-01-31 11:29:17 +0700
1396
+ Processing by ArticlesController#index as HTML
1397
+ Parameters: {"authorized"=>"true"}
1398
+ Completed 200 OK in 0ms
1399
+ ------------------------------------------------------------------------------------
1400
+ AuthorizeIfIntegrationTest: test_index_action_renders_custom_error_if_false_is_given
1401
+ ------------------------------------------------------------------------------------
1402
+ Started GET "/articles?error_message=Custom+73+error+message" for 127.0.0.1 at 2016-01-31 11:29:17 +0700
1403
+ Processing by ArticlesController#index as HTML
1404
+ Parameters: {"error_message"=>"Custom 73 error message"}
1405
+ Rendered text template (0.0ms)
1406
+ Completed 403 Forbidden in 8ms (Views: 7.3ms)
1407
+ ---------------------------------------------------------------------------
1408
+ AuthorizeIfIntegrationTest: test_show_action_is_authorized_if_true_is_given
1409
+ ---------------------------------------------------------------------------
1410
+ Started GET "/articles/1?authorized=true" for 127.0.0.1 at 2016-01-31 11:29:18 +0700
1411
+ Processing by ArticlesController#show as HTML
1412
+ Parameters: {"authorized"=>"true", "id"=>"1"}
1413
+ Completed 200 OK in 0ms
1414
+ -----------------------------------------------------------------------------------
1415
+ AuthorizeIfIntegrationTest: test_show_action_renders_custom_error_if_false_is_given
1416
+ -----------------------------------------------------------------------------------
1417
+ Started GET "/articles/1?error_message=Custom+41+error+message" for 127.0.0.1 at 2016-01-31 11:29:18 +0700
1418
+ Processing by ArticlesController#show as HTML
1419
+ Parameters: {"error_message"=>"Custom 41 error message", "id"=>"1"}
1420
+ Rendered text template (0.0ms)
1421
+ Completed 403 Forbidden in 0ms (Views: 0.2ms)
1422
+ ---------------------------------------------------------------------------
1423
+ AuthorizeIfIntegrationTest: test_show_action_is_authorized_if_true_is_given
1424
+ ---------------------------------------------------------------------------
1425
+ Started GET "/articles/1?authorized=true" for 127.0.0.1 at 2016-01-31 11:33:38 +0700
1426
+ Processing by ArticlesController#show as HTML
1427
+ Parameters: {"authorized"=>"true", "id"=>"1"}
1428
+ Completed 200 OK in 1ms
1429
+ -----------------------------------------------------------------------------------
1430
+ AuthorizeIfIntegrationTest: test_show_action_renders_custom_error_if_false_is_given
1431
+ -----------------------------------------------------------------------------------
1432
+ Started GET "/articles/1?error_message=Custom+60+error+message" for 127.0.0.1 at 2016-01-31 11:33:38 +0700
1433
+ Processing by ArticlesController#show as HTML
1434
+ Parameters: {"error_message"=>"Custom 60 error message", "id"=>"1"}
1435
+ Rendered text template (0.0ms)
1436
+ Completed 403 Forbidden in 7ms (Views: 7.3ms)
1437
+ ------------------------------------------------------------------------------------
1438
+ AuthorizeIfIntegrationTest: test_index_action_renders_custom_error_if_false_is_given
1439
+ ------------------------------------------------------------------------------------
1440
+ Started GET "/articles?error_message=Custom+79+error+message" for 127.0.0.1 at 2016-01-31 11:33:38 +0700
1441
+ Processing by ArticlesController#index as HTML
1442
+ Parameters: {"error_message"=>"Custom 79 error message"}
1443
+ Rendered text template (0.0ms)
1444
+ Completed 403 Forbidden in 1ms (Views: 0.5ms)
1445
+ ----------------------------------------------------------------------------
1446
+ AuthorizeIfIntegrationTest: test_index_action_is_authorized_if_true_is_given
1447
+ ----------------------------------------------------------------------------
1448
+ Started GET "/articles?authorized=true" for 127.0.0.1 at 2016-01-31 11:33:38 +0700
1449
+ Processing by ArticlesController#index as HTML
1450
+ Parameters: {"authorized"=>"true"}
1451
+ Completed 200 OK in 0ms
1452
+ ---------------------------------------------------------------------------
1453
+ AuthorizeIfIntegrationTest: test_show_action_is_authorized_if_true_is_given
1454
+ ---------------------------------------------------------------------------
1455
+ Started GET "/articles/1?authorized=true" for 127.0.0.1 at 2016-01-31 11:33:52 +0700
1456
+ Processing by ArticlesController#show as HTML
1457
+ Parameters: {"authorized"=>"true", "id"=>"1"}
1458
+ Completed 200 OK in 0ms
1459
+ -----------------------------------------------------------------------------------
1460
+ AuthorizeIfIntegrationTest: test_show_action_renders_custom_error_if_false_is_given
1461
+ -----------------------------------------------------------------------------------
1462
+ Started GET "/articles/1?error_message=Custom+42+error+message" for 127.0.0.1 at 2016-01-31 11:33:52 +0700
1463
+ Processing by ArticlesController#show as HTML
1464
+ Parameters: {"error_message"=>"Custom 42 error message", "id"=>"1"}
1465
+ Rendered text template (0.0ms)
1466
+ Completed 403 Forbidden in 10ms (Views: 9.8ms)
1467
+ ----------------------------------------------------------------------------
1468
+ AuthorizeIfIntegrationTest: test_index_action_is_authorized_if_true_is_given
1469
+ ----------------------------------------------------------------------------
1470
+ Started GET "/articles?authorized=true" for 127.0.0.1 at 2016-01-31 11:33:52 +0700
1471
+ Processing by ArticlesController#index as HTML
1472
+ Parameters: {"authorized"=>"true"}
1473
+ Completed 200 OK in 0ms
1474
+ ------------------------------------------------------------------------------------
1475
+ AuthorizeIfIntegrationTest: test_index_action_renders_custom_error_if_false_is_given
1476
+ ------------------------------------------------------------------------------------
1477
+ Started GET "/articles?error_message=Custom+11+error+message" for 127.0.0.1 at 2016-01-31 11:33:52 +0700
1478
+ Processing by ArticlesController#index as HTML
1479
+ Parameters: {"error_message"=>"Custom 11 error message"}
1480
+ Rendered text template (0.0ms)
1481
+ Completed 403 Forbidden in 0ms (Views: 0.2ms)
1482
+ ---------------------------------------------------------------------------------------------------------------
1483
+ AuthorizeIfIntegrationTest: test_show_action_renders_Internal_Server_Error_if_authorization_rule_is_not_defined
1484
+ ---------------------------------------------------------------------------------------------------------------
1485
+ ---------------------------------------------------------------------------------------------------------------
1486
+ AuthorizeIfIntegrationTest: test_show_action_renders_Internal_Server_Error_if_authorization_rule_is_not_defined
1487
+ ---------------------------------------------------------------------------------------------------------------
1488
+ ---------------------------------------------------------------------------------------------------------------
1489
+ AuthorizeIfIntegrationTest: test_edit_action_renders_Internal_Server_Error_if_authorization_rule_is_not_defined
1490
+ ---------------------------------------------------------------------------------------------------------------
1491
+ Started GET "/articles/1/edit" for 127.0.0.1 at 2016-01-31 12:06:45 +0700
1492
+
1493
+ ActionController::RoutingError (No route matches [GET] "/articles/1/edit"):
1494
+ test/integration/authorize_if_integration_test.rb:36:in `block in <class:AuthorizeIfIntegrationTest>'
1495
+
1496
+
1497
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms)
1498
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.9ms)
1499
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/routes/_table.html.erb (4.7ms)
1500
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (12.9ms)
1501
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (82.2ms)
1502
+ ---------------------------------------------------------------------------------------------------------------
1503
+ AuthorizeIfIntegrationTest: test_edit_action_renders_Internal_Server_Error_if_authorization_rule_is_not_defined
1504
+ ---------------------------------------------------------------------------------------------------------------
1505
+ Started GET "/articles/1/edit" for 127.0.0.1 at 2016-01-31 12:07:11 +0700
1506
+
1507
+ ActionController::RoutingError (No route matches [GET] "/articles/1/edit"):
1508
+ test/integration/authorize_if_integration_test.rb:36:in `block in <class:AuthorizeIfIntegrationTest>'
1509
+
1510
+
1511
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms)
1512
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms)
1513
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/routes/_table.html.erb (4.6ms)
1514
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (8.6ms)
1515
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (61.3ms)
1516
+ ---------------------------------------------------------------------------------------------------------------
1517
+ AuthorizeIfIntegrationTest: test_edit_action_renders_Internal_Server_Error_if_authorization_rule_is_not_defined
1518
+ ---------------------------------------------------------------------------------------------------------------
1519
+ Started GET "/articles/1/edit" for 127.0.0.1 at 2016-01-31 12:07:33 +0700
1520
+ Processing by ArticlesController#edit as HTML
1521
+ Parameters: {"id"=>"1"}
1522
+ Completed 500 Internal Server Error in 0ms
1523
+
1524
+ AuthorizeIf::MissingAuthorizationRuleError (No authorization rule defined for action articles#edit. Please define method #authorize_edit? for ArticlesController):
1525
+ app/controllers/articles_controller.rb:19:in `edit'
1526
+ test/integration/authorize_if_integration_test.rb:36:in `block in <class:AuthorizeIfIntegrationTest>'
1527
+
1528
+
1529
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.0ms)
1530
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
1531
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (9.3ms)
1532
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (57.4ms)
1533
+ ---------------------------------------------------------------------------------------------------------------
1534
+ AuthorizeIfIntegrationTest: test_edit_action_renders_Internal_Server_Error_if_authorization_rule_is_not_defined
1535
+ ---------------------------------------------------------------------------------------------------------------
1536
+ Started GET "/articles/1/edit" for 127.0.0.1 at 2016-01-31 12:07:46 +0700
1537
+ Processing by ArticlesController#edit as HTML
1538
+ Parameters: {"id"=>"1"}
1539
+ Completed 500 Internal Server Error in 0ms
1540
+
1541
+ AuthorizeIf::MissingAuthorizationRuleError (No authorization rule defined for action articles#edit. Please define method #authorize_edit? for ArticlesController):
1542
+ app/controllers/articles_controller.rb:19:in `edit'
1543
+ test/integration/authorize_if_integration_test.rb:36:in `block in <class:AuthorizeIfIntegrationTest>'
1544
+
1545
+
1546
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.7ms)
1547
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
1548
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (7.1ms)
1549
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (52.9ms)
1550
+ ---------------------------------------------------------------------------------------------------------------
1551
+ AuthorizeIfIntegrationTest: test_edit_action_renders_Internal_Server_Error_if_authorization_rule_is_not_defined
1552
+ ---------------------------------------------------------------------------------------------------------------
1553
+ Started GET "/articles/1/edit" for 127.0.0.1 at 2016-01-31 12:13:16 +0700
1554
+ Processing by ArticlesController#edit as HTML
1555
+ Parameters: {"id"=>"1"}
1556
+ Completed 500 Internal Server Error in 1ms
1557
+
1558
+ AuthorizeIf::MissingAuthorizationRuleError (No authorization rule defined for action articles#edit. Please define method #authorize_edit? for ArticlesController):
1559
+ app/controllers/articles_controller.rb:19:in `edit'
1560
+ test/integration/authorize_if_integration_test.rb:36:in `block in <class:AuthorizeIfIntegrationTest>'
1561
+
1562
+
1563
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.1ms)
1564
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
1565
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (6.8ms)
1566
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (41.9ms)
1567
+ ----------------------------------------------------------------------------
1568
+ AuthorizeIfIntegrationTest: test_index_action_is_authorized_if_true_is_given
1569
+ ----------------------------------------------------------------------------
1570
+ Started GET "/articles?authorized=true" for 127.0.0.1 at 2016-01-31 12:13:16 +0700
1571
+ Processing by ArticlesController#index as HTML
1572
+ Parameters: {"authorized"=>"true"}
1573
+ Completed 200 OK in 0ms
1574
+ ---------------------------------------------------------------------------
1575
+ AuthorizeIfIntegrationTest: test_show_action_is_authorized_if_true_is_given
1576
+ ---------------------------------------------------------------------------
1577
+ Started GET "/articles/1?authorized=true" for 127.0.0.1 at 2016-01-31 12:13:16 +0700
1578
+ Processing by ArticlesController#show as HTML
1579
+ Parameters: {"authorized"=>"true", "id"=>"1"}
1580
+ Completed 200 OK in 0ms
1581
+ -----------------------------------------------------------------------------------
1582
+ AuthorizeIfIntegrationTest: test_show_action_renders_custom_error_if_false_is_given
1583
+ -----------------------------------------------------------------------------------
1584
+ Started GET "/articles/1?error_message=Custom+75+error+message" for 127.0.0.1 at 2016-01-31 12:13:16 +0700
1585
+ Processing by ArticlesController#show as HTML
1586
+ Parameters: {"error_message"=>"Custom 75 error message", "id"=>"1"}
1587
+ Rendered text template (0.0ms)
1588
+ Completed 403 Forbidden in 2ms (Views: 1.6ms)
1589
+ ------------------------------------------------------------------------------------
1590
+ AuthorizeIfIntegrationTest: test_index_action_renders_custom_error_if_false_is_given
1591
+ ------------------------------------------------------------------------------------
1592
+ Started GET "/articles?error_message=Custom+68+error+message" for 127.0.0.1 at 2016-01-31 12:13:16 +0700
1593
+ Processing by ArticlesController#index as HTML
1594
+ Parameters: {"error_message"=>"Custom 68 error message"}
1595
+ Rendered text template (0.0ms)
1596
+ Completed 403 Forbidden in 0ms (Views: 0.3ms)
1597
+ ------------------------------------------------------------------------------------
1598
+ AuthorizeIfIntegrationTest: test_index_action_renders_custom_error_if_false_is_given
1599
+ ------------------------------------------------------------------------------------
1600
+ Started GET "/articles?error_message=Custom+85+error+message" for 127.0.0.1 at 2016-01-31 12:21:05 +0700
1601
+ Processing by ArticlesController#index as HTML
1602
+ Parameters: {"error_message"=>"Custom 85 error message"}
1603
+ Rendered text template (0.0ms)
1604
+ Completed 403 Forbidden in 5ms (Views: 4.9ms)
1605
+ ---------------------------------------------------------------------------------------------------------------
1606
+ AuthorizeIfIntegrationTest: test_edit_action_renders_Internal_Server_Error_if_authorization_rule_is_not_defined
1607
+ ---------------------------------------------------------------------------------------------------------------
1608
+ Started GET "/articles/1/edit" for 127.0.0.1 at 2016-01-31 12:21:05 +0700
1609
+ Processing by ArticlesController#edit as HTML
1610
+ Parameters: {"id"=>"1"}
1611
+ Completed 500 Internal Server Error in 0ms
1612
+
1613
+ AuthorizeIf::MissingAuthorizationRuleError (No authorization rule defined for action articles#edit. Please define method #authorize_edit? for ArticlesController):
1614
+ app/controllers/articles_controller.rb:19:in `edit'
1615
+ test/integration/authorize_if_integration_test.rb:36:in `block in <class:AuthorizeIfIntegrationTest>'
1616
+
1617
+
1618
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.0ms)
1619
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
1620
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (7.4ms)
1621
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (43.0ms)
1622
+ ----------------------------------------------------------------------------
1623
+ AuthorizeIfIntegrationTest: test_index_action_is_authorized_if_true_is_given
1624
+ ----------------------------------------------------------------------------
1625
+ Started GET "/articles?authorized=true" for 127.0.0.1 at 2016-01-31 12:21:05 +0700
1626
+ Processing by ArticlesController#index as HTML
1627
+ Parameters: {"authorized"=>"true"}
1628
+ Completed 200 OK in 0ms
1629
+ -----------------------------------------------------------------------------------
1630
+ AuthorizeIfIntegrationTest: test_show_action_renders_custom_error_if_false_is_given
1631
+ -----------------------------------------------------------------------------------
1632
+ Started GET "/articles/1?error_message=Custom+97+error+message" for 127.0.0.1 at 2016-01-31 12:21:05 +0700
1633
+ Processing by ArticlesController#show as HTML
1634
+ Parameters: {"error_message"=>"Custom 97 error message", "id"=>"1"}
1635
+ Rendered text template (0.0ms)
1636
+ Completed 403 Forbidden in 0ms (Views: 0.2ms)
1637
+ ---------------------------------------------------------------------------
1638
+ AuthorizeIfIntegrationTest: test_show_action_is_authorized_if_true_is_given
1639
+ ---------------------------------------------------------------------------
1640
+ Started GET "/articles/1?authorized=true" for 127.0.0.1 at 2016-01-31 12:21:05 +0700
1641
+ Processing by ArticlesController#show as HTML
1642
+ Parameters: {"authorized"=>"true", "id"=>"1"}
1643
+ Completed 200 OK in 0ms
1644
+ ---------------------------------------------------------------------------
1645
+ AuthorizeIfIntegrationTest: test_show_action_is_authorized_if_true_is_given
1646
+ ---------------------------------------------------------------------------
1647
+ Started GET "/articles/1?authorized=true" for 127.0.0.1 at 2016-01-31 12:22:24 +0700
1648
+ Processing by ArticlesController#show as HTML
1649
+ Parameters: {"authorized"=>"true", "id"=>"1"}
1650
+ Completed 200 OK in 0ms
1651
+ ------------------------------------------------------------------------------------
1652
+ AuthorizeIfIntegrationTest: test_index_action_renders_custom_error_if_false_is_given
1653
+ ------------------------------------------------------------------------------------
1654
+ Started GET "/articles?error_message=Custom+44+error+message" for 127.0.0.1 at 2016-01-31 12:22:24 +0700
1655
+ Processing by ArticlesController#index as HTML
1656
+ Parameters: {"error_message"=>"Custom 44 error message"}
1657
+ Rendered text template (0.0ms)
1658
+ Completed 403 Forbidden in 5ms (Views: 4.9ms)
1659
+ ---------------------------------------------------------------------------------------------------------------
1660
+ AuthorizeIfIntegrationTest: test_edit_action_renders_Internal_Server_Error_if_authorization_rule_is_not_defined
1661
+ ---------------------------------------------------------------------------------------------------------------
1662
+ Started GET "/articles/1/edit" for 127.0.0.1 at 2016-01-31 12:22:24 +0700
1663
+ Processing by ArticlesController#edit as HTML
1664
+ Parameters: {"id"=>"1"}
1665
+ Completed 500 Internal Server Error in 0ms
1666
+
1667
+ AuthorizeIf::MissingAuthorizationRuleError (No authorization rule defined for action articles#edit. Please define method #authorize_edit? for ArticlesController):
1668
+ app/controllers/articles_controller.rb:19:in `edit'
1669
+ test/integration/authorize_if_integration_test.rb:36:in `block in <class:AuthorizeIfIntegrationTest>'
1670
+
1671
+
1672
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.1ms)
1673
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
1674
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (7.3ms)
1675
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (48.4ms)
1676
+ ----------------------------------------------------------------------------
1677
+ AuthorizeIfIntegrationTest: test_index_action_is_authorized_if_true_is_given
1678
+ ----------------------------------------------------------------------------
1679
+ Started GET "/articles?authorized=true" for 127.0.0.1 at 2016-01-31 12:22:24 +0700
1680
+ Processing by ArticlesController#index as HTML
1681
+ Parameters: {"authorized"=>"true"}
1682
+ Completed 200 OK in 0ms
1683
+ -----------------------------------------------------------------------------------
1684
+ AuthorizeIfIntegrationTest: test_show_action_renders_custom_error_if_false_is_given
1685
+ -----------------------------------------------------------------------------------
1686
+ Started GET "/articles/1?error_message=Custom+58+error+message" for 127.0.0.1 at 2016-01-31 12:22:24 +0700
1687
+ Processing by ArticlesController#show as HTML
1688
+ Parameters: {"error_message"=>"Custom 58 error message", "id"=>"1"}
1689
+ Rendered text template (0.1ms)
1690
+ Completed 403 Forbidden in 1ms (Views: 0.4ms)
1691
+ ----------------------------------------------------------------------------
1692
+ AuthorizeIfIntegrationTest: test_index_action_is_authorized_if_true_is_given
1693
+ ----------------------------------------------------------------------------
1694
+ Started GET "/articles?authorized=true" for 127.0.0.1 at 2016-01-31 12:23:05 +0700
1695
+ Processing by ArticlesController#index as HTML
1696
+ Parameters: {"authorized"=>"true"}
1697
+ Completed 200 OK in 0ms
1698
+ ---------------------------------------------------------------------------------------------------------------
1699
+ AuthorizeIfIntegrationTest: test_edit_action_renders_Internal_Server_Error_if_authorization_rule_is_not_defined
1700
+ ---------------------------------------------------------------------------------------------------------------
1701
+ Started GET "/articles/1/edit" for 127.0.0.1 at 2016-01-31 12:23:05 +0700
1702
+ Processing by ArticlesController#edit as HTML
1703
+ Parameters: {"id"=>"1"}
1704
+ Completed 500 Internal Server Error in 0ms
1705
+
1706
+ AuthorizeIf::MissingAuthorizationRuleError (No authorization rule defined for action articles#edit. Please define method #authorize_edit? for ArticlesController):
1707
+ app/controllers/articles_controller.rb:19:in `edit'
1708
+ test/integration/authorize_if_integration_test.rb:36:in `block in <class:AuthorizeIfIntegrationTest>'
1709
+
1710
+
1711
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.8ms)
1712
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms)
1713
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (7.1ms)
1714
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (47.0ms)
1715
+ ------------------------------------------------------------------------------------
1716
+ AuthorizeIfIntegrationTest: test_index_action_renders_custom_error_if_false_is_given
1717
+ ------------------------------------------------------------------------------------
1718
+ Started GET "/articles?error_message=Custom+6+error+message" for 127.0.0.1 at 2016-01-31 12:23:05 +0700
1719
+ Processing by ArticlesController#index as HTML
1720
+ Parameters: {"error_message"=>"Custom 6 error message"}
1721
+ Rendered text template (0.0ms)
1722
+ Completed 403 Forbidden in 2ms (Views: 1.6ms)
1723
+ -----------------------------------------------------------------------------------
1724
+ AuthorizeIfIntegrationTest: test_show_action_renders_custom_error_if_false_is_given
1725
+ -----------------------------------------------------------------------------------
1726
+ Started GET "/articles/1?error_message=Custom+81+error+message" for 127.0.0.1 at 2016-01-31 12:23:05 +0700
1727
+ Processing by ArticlesController#show as HTML
1728
+ Parameters: {"error_message"=>"Custom 81 error message", "id"=>"1"}
1729
+ Rendered text template (0.0ms)
1730
+ Completed 403 Forbidden in 0ms (Views: 0.2ms)
1731
+ ---------------------------------------------------------------------------
1732
+ AuthorizeIfIntegrationTest: test_show_action_is_authorized_if_true_is_given
1733
+ ---------------------------------------------------------------------------
1734
+ Started GET "/articles/1?authorized=true" for 127.0.0.1 at 2016-01-31 12:23:05 +0700
1735
+ Processing by ArticlesController#show as HTML
1736
+ Parameters: {"authorized"=>"true", "id"=>"1"}
1737
+ Completed 200 OK in 0ms
1738
+ ----------------------------------------------------------------------------
1739
+ AuthorizeIfIntegrationTest: test_index_action_is_authorized_if_true_is_given
1740
+ ----------------------------------------------------------------------------
1741
+ Started GET "/articles?authorized=true" for 127.0.0.1 at 2016-01-31 16:01:59 +0700
1742
+ Processing by ArticlesController#index as HTML
1743
+ Parameters: {"authorized"=>"true"}
1744
+ Completed 200 OK in 0ms
1745
+ -----------------------------------------------------------------------------------
1746
+ AuthorizeIfIntegrationTest: test_show_action_renders_custom_error_if_false_is_given
1747
+ -----------------------------------------------------------------------------------
1748
+ Started GET "/articles/1?error_message=Custom+93+error+message" for 127.0.0.1 at 2016-01-31 16:01:59 +0700
1749
+ Processing by ArticlesController#show as HTML
1750
+ Parameters: {"error_message"=>"Custom 93 error message", "id"=>"1"}
1751
+ Rendered text template (0.0ms)
1752
+ Completed 403 Forbidden in 5ms (Views: 4.7ms)
1753
+ ---------------------------------------------------------------------------------------------------------------
1754
+ AuthorizeIfIntegrationTest: test_edit_action_renders_Internal_Server_Error_if_authorization_rule_is_not_defined
1755
+ ---------------------------------------------------------------------------------------------------------------
1756
+ Started GET "/articles/1/edit" for 127.0.0.1 at 2016-01-31 16:01:59 +0700
1757
+ Processing by ArticlesController#edit as HTML
1758
+ Parameters: {"id"=>"1"}
1759
+ Completed 500 Internal Server Error in 0ms
1760
+
1761
+ AuthorizeIf::MissingAuthorizationRuleError (No authorization rule defined for action articles#edit. Please define method #authorize_edit? for ArticlesController):
1762
+ app/controllers/articles_controller.rb:19:in `edit'
1763
+ test/integration/authorize_if_integration_test.rb:36:in `block in <class:AuthorizeIfIntegrationTest>'
1764
+
1765
+
1766
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.2ms)
1767
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms)
1768
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (11.1ms)
1769
+ Rendered /Users/vrybas/Projects/github/sources/authorize_if/.gems/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (61.7ms)
1770
+ ------------------------------------------------------------------------------------
1771
+ AuthorizeIfIntegrationTest: test_index_action_renders_custom_error_if_false_is_given
1772
+ ------------------------------------------------------------------------------------
1773
+ Started GET "/articles?error_message=Custom+3+error+message" for 127.0.0.1 at 2016-01-31 16:02:00 +0700
1774
+ Processing by ArticlesController#index as HTML
1775
+ Parameters: {"error_message"=>"Custom 3 error message"}
1776
+ Rendered text template (0.1ms)
1777
+ Completed 403 Forbidden in 0ms (Views: 0.3ms)
1778
+ ---------------------------------------------------------------------------
1779
+ AuthorizeIfIntegrationTest: test_show_action_is_authorized_if_true_is_given
1780
+ ---------------------------------------------------------------------------
1781
+ Started GET "/articles/1?authorized=true" for 127.0.0.1 at 2016-01-31 16:02:00 +0700
1782
+ Processing by ArticlesController#show as HTML
1783
+ Parameters: {"authorized"=>"true", "id"=>"1"}
1784
+ Completed 200 OK in 0ms