rails-controller-testing 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1985518a366c6d03e6ee96cc506686ac0c2d965d
4
- data.tar.gz: 97d894de1d866047e6b8fc0d6055b17f91f7d48c
3
+ metadata.gz: a2012bee519b01179696020eab76322fdf25e678
4
+ data.tar.gz: e885d3464fc5a81efc0332b294b9a28585172fd5
5
5
  SHA512:
6
- metadata.gz: 54709c6e0bf1f97d9d35e8c613b6f7990a8e11541601b5f16296604d6a3b4e0ee2c86e6a7f4214bcbb54ecc0f5364bec7d670712a45d85694dbe3671062578ac
7
- data.tar.gz: fb983705ffd31ccdc5d93c5b2ebcc478bc08cc2a2bde8d98a8c13068219879f4fbb5716012440de89c7f6323a129cdb2371d1aa37c8f43d3b14d75a776fdc7d4
6
+ metadata.gz: 9b218e233f42c9787bcdf2584392d81d31d13ff96c3316538955a4bf4ea2ddb9ce0bd37a2d0372dc723aa536994097a9cde23ce6b52b999f2877d78464b0e788
7
+ data.tar.gz: e14f775742d2183d822a51a70ffc410a22fcd764c761583167b62c93c2216be269c464f44112a16fb69e006ed10d4ff8b3ac4e40a93c4d7e82a923cb99d94a5f
data/README.md CHANGED
@@ -24,11 +24,11 @@ Or install it yourself as:
24
24
 
25
25
  See https://github.com/rspec/rspec-rails/issues/1393.
26
26
 
27
- rspec-rails will automatically integrate with this gem once `3.5.0` and Rails 5 are released.
27
+ rspec-rails automatically integrates with this gem since version `3.5.0`.
28
28
  Adding the gem to your `Gemfile` is sufficient.
29
29
 
30
- To work around the issue right now, use a beta version of rspec-rails or
31
- manually you'll have to include the modules in your `rails_helper`.
30
+ If you use an older version of rspec-rails, you can manually include the
31
+ modules in your `rails_helper`.
32
32
 
33
33
  ```ruby
34
34
  RSpec.configure do |config|
@@ -7,17 +7,19 @@ module Rails
7
7
  module Controller
8
8
  module Testing
9
9
  def self.install
10
- ActiveSupport.on_load(:action_controller) do
11
- ActionController::TestCase.include Rails::Controller::Testing::TestProcess
12
- ActionController::TestCase.include Rails::Controller::Testing::TemplateAssertions
10
+ ActiveSupport.on_load(:action_controller_test_case) do
11
+ include Rails::Controller::Testing::TestProcess
12
+ include Rails::Controller::Testing::TemplateAssertions
13
+ end
13
14
 
14
- ActionDispatch::IntegrationTest.include Rails::Controller::Testing::TemplateAssertions
15
- ActionDispatch::IntegrationTest.include Rails::Controller::Testing::Integration
16
- ActionDispatch::IntegrationTest.include Rails::Controller::Testing::TestProcess
15
+ ActiveSupport.on_load(:action_dispatch_integration_test) do
16
+ include Rails::Controller::Testing::TemplateAssertions
17
+ include Rails::Controller::Testing::Integration
18
+ include Rails::Controller::Testing::TestProcess
17
19
  end
18
20
 
19
- ActiveSupport.on_load(:action_view) do
20
- ActionView::TestCase.include Rails::Controller::Testing::TemplateAssertions
21
+ ActiveSupport.on_load(:action_view_test_case) do
22
+ include Rails::Controller::Testing::TemplateAssertions
21
23
  end
22
24
  end
23
25
  end
@@ -1,7 +1,7 @@
1
1
  module Rails
2
2
  module Controller
3
3
  module Testing
4
- VERSION = "1.0.1"
4
+ VERSION = "1.0.2"
5
5
  end
6
6
  end
7
7
  end
@@ -19,8 +19,8 @@ class AssignsControllerTest < ActionController::TestCase
19
19
  def test_view_assigns
20
20
  @controller = ViewAssignsController.new
21
21
  process :test_assigns
22
- assert_equal nil, assigns(:foo)
23
- assert_equal nil, assigns[:foo]
22
+ assert_nil assigns(:foo)
23
+ assert_nil assigns[:foo]
24
24
  assert_equal "bar", assigns(:bar)
25
25
  assert_equal "bar", assigns[:bar]
26
26
  end
@@ -0,0 +1,3546 @@
1
+ -------------------------------------------------------------------------------------------------------------
2
+ RenderTemplateTest: test_specifying_locals_works_when_the_partial_is_inside_a_directory_with_underline_prefix
3
+ -------------------------------------------------------------------------------------------------------------
4
+ Rendering test/render_partial_inside_directory.html.erb
5
+ Rendered test/_directory/_partial_with_locales.html.erb (1.2ms)
6
+ Rendered test/render_partial_inside_directory.html.erb (23.3ms)
7
+ ----------------------------------------------------------------------------------------
8
+ RenderTemplateTest: test_raises_descriptive_error_message_when_template_was_not_rendered
9
+ ----------------------------------------------------------------------------------------
10
+ Rendering test/hello_world_with_partial.html.erb
11
+ Rendered test/_partial.html.erb (0.4ms)
12
+ Rendered test/hello_world_with_partial.html.erb (14.0ms)
13
+ -----------------------------------------------------
14
+ RenderTemplateTest: test_supports_specifying_partials
15
+ -----------------------------------------------------
16
+ Rendering test/calling_partial_with_layout.html.erb
17
+ Rendered test/_partial_for_use_in_layout.html.erb (15.7ms)
18
+ Rendered test/calling_partial_with_layout.html.erb (30.0ms)
19
+ --------------------------------------------------------------------
20
+ RenderTemplateTest: test_supports_specifying_templates_with_a_Regexp
21
+ --------------------------------------------------------------------
22
+ Rendering test/hello_world.html.erb
23
+ Rendered test/hello_world.html.erb (0.3ms)
24
+ ----------------------------------------------------------------------------------------------------------------
25
+ RenderTemplateTest: test_specifying_locals_works_when_the_partial_is_inside_a_directory_without_underline_prefix
26
+ ----------------------------------------------------------------------------------------------------------------
27
+ Rendering test/render_partial_inside_directory.html.erb
28
+ Rendered test/_directory/_partial_with_locales.html.erb (0.1ms)
29
+ Rendered test/render_partial_inside_directory.html.erb (0.3ms)
30
+ -------------------------------------------------------------
31
+ RenderTemplateTest: test_supports_specifying_locals_(failing)
32
+ -------------------------------------------------------------
33
+ Rendering test/calling_partial_with_layout.html.erb
34
+ Rendered test/_partial_for_use_in_layout.html.erb (0.1ms)
35
+ Rendered test/calling_partial_with_layout.html.erb (0.2ms)
36
+ ----------------------------------------------------------------------
37
+ RenderTemplateTest: test_supports_different_locals_on_the_same_partial
38
+ ----------------------------------------------------------------------
39
+ Rendering test/render_two_partials.html.erb
40
+ Rendered test/_partial.html.erb (0.3ms)
41
+ Rendered test/_partial.html.erb (0.5ms)
42
+ Rendered test/render_two_partials.html.erb (26.5ms)
43
+ -------------------------------------------------------------
44
+ RenderTemplateTest: test_supports_specifying_locals_(passing)
45
+ -------------------------------------------------------------
46
+ Rendering test/calling_partial_with_layout.html.erb
47
+ Rendered test/_partial_for_use_in_layout.html.erb (0.1ms)
48
+ Rendered test/calling_partial_with_layout.html.erb (0.2ms)
49
+ ---------------------------------------------------------------------
50
+ TemplateAssertionsIntegrationTest: test_layout_reset_between_requests
51
+ ---------------------------------------------------------------------
52
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2016-08-25 04:34:33 -0300
53
+ Processing by TemplateAssertionsController#render_with_layout as HTML
54
+ Rendering test/hello_world.html.erb within layouts/standard
55
+ Rendered test/hello_world.html.erb within layouts/standard (0.3ms)
56
+ Completed 200 OK in 3ms (Views: 3.3ms)
57
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:34:33 -0300
58
+ Processing by TemplateAssertionsController#render_nothing as HTML
59
+ Completed 200 OK in 0ms
60
+ ---------------------------------------------------------------------------------------------
61
+ TemplateAssertionsIntegrationTest: test_partial_reset_between_requests_when_opening_a_session
62
+ ---------------------------------------------------------------------------------------------
63
+ Started GET "/template_assertions/render_with_partial" for 127.0.0.1 at 2016-08-25 04:34:33 -0300
64
+ Processing by TemplateAssertionsController#render_with_partial as HTML
65
+ Rendered test/_partial.html.erb (0.3ms)
66
+ Completed 200 OK in 2ms (Views: 1.6ms)
67
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:34:33 -0300
68
+ Processing by TemplateAssertionsController#render_nothing as HTML
69
+ Completed 200 OK in 0ms
70
+ ------------------------------------------------------------------------------------------
71
+ TemplateAssertionsIntegrationTest: test_file_reset_between_requests_when_opening_a_session
72
+ ------------------------------------------------------------------------------------------
73
+ Started GET "/template_assertions/render_file_relative_path" for 127.0.0.1 at 2016-08-25 04:34:33 -0300
74
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
75
+ Rendering README.rdoc
76
+ Rendered README.rdoc (0.3ms)
77
+ Completed 200 OK in 6ms (Views: 5.5ms)
78
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:34:33 -0300
79
+ Processing by TemplateAssertionsController#render_nothing as HTML
80
+ Completed 200 OK in 0ms
81
+ -------------------------------------------------------------------
82
+ TemplateAssertionsIntegrationTest: test_file_reset_between_requests
83
+ -------------------------------------------------------------------
84
+ Started GET "/template_assertions/render_file_relative_path" for 127.0.0.1 at 2016-08-25 04:34:33 -0300
85
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
86
+ Rendering README.rdoc
87
+ Rendered README.rdoc (0.6ms)
88
+ Completed 200 OK in 9ms (Views: 8.5ms)
89
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:34:33 -0300
90
+ Processing by TemplateAssertionsController#render_nothing as HTML
91
+ Completed 200 OK in 0ms
92
+ -------------------------------------------------------------------------------
93
+ TemplateAssertionsIntegrationTest: test_assigns_do_not_reset_template_assertion
94
+ -------------------------------------------------------------------------------
95
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2016-08-25 04:34:33 -0300
96
+ Processing by TemplateAssertionsController#render_with_layout as HTML
97
+ Rendering test/hello_world.html.erb within layouts/standard
98
+ Rendered test/hello_world.html.erb within layouts/standard (0.3ms)
99
+ Completed 200 OK in 3ms (Views: 3.2ms)
100
+ --------------------------------------------------------------------------------------------
101
+ TemplateAssertionsIntegrationTest: test_layout_reset_between_requests_when_opening_a_session
102
+ --------------------------------------------------------------------------------------------
103
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2016-08-25 04:34:33 -0300
104
+ Processing by TemplateAssertionsController#render_with_layout as HTML
105
+ Rendering test/hello_world.html.erb within layouts/standard
106
+ Rendered test/hello_world.html.erb within layouts/standard (0.3ms)
107
+ Completed 200 OK in 3ms (Views: 3.0ms)
108
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:34:33 -0300
109
+ Processing by TemplateAssertionsController#render_nothing as HTML
110
+ Completed 200 OK in 0ms
111
+ -------------------------------------------------------------------------------
112
+ TemplateAssertionsIntegrationTest: test_cookies_do_not_reset_template_assertion
113
+ -------------------------------------------------------------------------------
114
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2016-08-25 04:34:33 -0300
115
+ Processing by TemplateAssertionsController#render_with_layout as HTML
116
+ Rendering test/hello_world.html.erb within layouts/standard
117
+ Rendered test/hello_world.html.erb within layouts/standard (0.3ms)
118
+ Completed 200 OK in 3ms (Views: 2.8ms)
119
+ -----------------------------------------------------------------------
120
+ TemplateAssertionsIntegrationTest: test_template_reset_between_requests
121
+ -----------------------------------------------------------------------
122
+ Started GET "/template_assertions/render_with_template" for 127.0.0.1 at 2016-08-25 04:34:33 -0300
123
+ Processing by TemplateAssertionsController#render_with_template as HTML
124
+ Rendering test/hello_world.html.erb
125
+ Rendered test/hello_world.html.erb (0.3ms)
126
+ Completed 200 OK in 3ms (Views: 3.4ms)
127
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:34:33 -0300
128
+ Processing by TemplateAssertionsController#render_nothing as HTML
129
+ Completed 200 OK in 0ms
130
+ ----------------------------------------------------------------------
131
+ TemplateAssertionsIntegrationTest: test_partial_reset_between_requests
132
+ ----------------------------------------------------------------------
133
+ Started GET "/template_assertions/render_with_partial" for 127.0.0.1 at 2016-08-25 04:34:33 -0300
134
+ Processing by TemplateAssertionsController#render_with_partial as HTML
135
+ Rendered test/_partial.html.erb (0.3ms)
136
+ Completed 200 OK in 2ms (Views: 1.8ms)
137
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:34:33 -0300
138
+ Processing by TemplateAssertionsController#render_nothing as HTML
139
+ Completed 200 OK in 0ms
140
+ ----------------------------------------------------------------------------------------------
141
+ TemplateAssertionsIntegrationTest: test_template_reset_between_requests_when_opening_a_session
142
+ ----------------------------------------------------------------------------------------------
143
+ Started GET "/template_assertions/render_with_template" for 127.0.0.1 at 2016-08-25 04:34:33 -0300
144
+ Processing by TemplateAssertionsController#render_with_template as HTML
145
+ Rendering test/hello_world.html.erb
146
+ Rendered test/hello_world.html.erb (0.3ms)
147
+ Completed 200 OK in 3ms (Views: 3.5ms)
148
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:34:33 -0300
149
+ Processing by TemplateAssertionsController#render_nothing as HTML
150
+ Completed 200 OK in 0ms
151
+ ---------------------------------------------------------------------
152
+ TemplateAssertionsControllerTest: test_passes_with_layout_and_partial
153
+ ---------------------------------------------------------------------
154
+ Processing by TemplateAssertionsController#render_with_layout_and_partial as HTML
155
+ Rendering test/hello_world_with_partial.html.erb within layouts/standard
156
+ Rendered test/_partial.html.erb (0.3ms)
157
+ Rendered test/hello_world_with_partial.html.erb within layouts/standard (2.1ms)
158
+ Completed 200 OK in 6ms (Views: 5.5ms)
159
+ -------------------------------------------------------------------------------
160
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_string_that_matches
161
+ -------------------------------------------------------------------------------
162
+ Processing by TemplateAssertionsController#render_with_template as HTML
163
+ Rendering test/hello_world.html.erb
164
+ Rendered test/hello_world.html.erb (0.6ms)
165
+ Completed 200 OK in 8ms (Views: 7.6ms)
166
+ ------------------------------------------------------------------
167
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_string
168
+ ------------------------------------------------------------------
169
+ Processing by TemplateAssertionsController#render_with_template as HTML
170
+ Rendering test/hello_world.html.erb
171
+ Rendered test/hello_world.html.erb (0.1ms)
172
+ Completed 200 OK in 1ms (Views: 0.7ms)
173
+ ----------------------------------------------------------------------------
174
+ TemplateAssertionsControllerTest: test_with_nil_fails_when_template_rendered
175
+ ----------------------------------------------------------------------------
176
+ Processing by TemplateAssertionsController#render_with_template as HTML
177
+ Rendering test/hello_world.html.erb
178
+ Rendered test/hello_world.html.erb (0.1ms)
179
+ Completed 200 OK in 1ms (Views: 0.7ms)
180
+ -----------------------------------------------------------------------------
181
+ TemplateAssertionsControllerTest: test_assert_template_reset_between_requests
182
+ -----------------------------------------------------------------------------
183
+ Processing by TemplateAssertionsController#render_with_template as HTML
184
+ Rendering test/hello_world.html.erb
185
+ Rendered test/hello_world.html.erb (0.1ms)
186
+ Completed 200 OK in 1ms (Views: 0.6ms)
187
+ Processing by TemplateAssertionsController#render_nothing as HTML
188
+ Completed 200 OK in 0ms (Views: 0.6ms)
189
+ Processing by TemplateAssertionsController#render_with_partial as HTML
190
+ Rendered test/_partial.html.erb (0.1ms)
191
+ Completed 200 OK in 1ms (Views: 0.7ms)
192
+ Processing by TemplateAssertionsController#render_nothing as HTML
193
+ Completed 200 OK in 0ms (Views: 0.7ms)
194
+ Processing by TemplateAssertionsController#render_with_layout as HTML
195
+ Rendering test/hello_world.html.erb within layouts/standard
196
+ Rendered test/hello_world.html.erb within layouts/standard (0.1ms)
197
+ Completed 200 OK in 1ms (Views: 0.7ms)
198
+ Processing by TemplateAssertionsController#render_nothing as HTML
199
+ Completed 200 OK in 0ms (Views: 0.7ms)
200
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
201
+ Rendering README.rdoc
202
+ Rendered README.rdoc (0.2ms)
203
+ Completed 200 OK in 3ms (Views: 3.0ms)
204
+ Processing by TemplateAssertionsController#render_nothing as HTML
205
+ Completed 200 OK in 0ms (Views: 3.0ms)
206
+ -------------------------------------------------------------------------------
207
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_symbol_that_matches
208
+ -------------------------------------------------------------------------------
209
+ Processing by TemplateAssertionsController#render_with_template as HTML
210
+ Rendering test/hello_world.html.erb
211
+ Rendered test/hello_world.html.erb (0.0ms)
212
+ Completed 200 OK in 0ms (Views: 0.4ms)
213
+ ----------------------------------------------------------------------------------------
214
+ TemplateAssertionsControllerTest: test_passes_with_correct_layout_without_layouts_prefix
215
+ ----------------------------------------------------------------------------------------
216
+ Processing by TemplateAssertionsController#render_with_layout as HTML
217
+ Rendering test/hello_world.html.erb within layouts/standard
218
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
219
+ Completed 200 OK in 0ms (Views: 0.4ms)
220
+ ----------------------------------------------------------------------
221
+ TemplateAssertionsControllerTest: test_file_with_absolute_path_success
222
+ ----------------------------------------------------------------------
223
+ Processing by TemplateAssertionsController#render_file_absolute_path as HTML
224
+ Rendering README.rdoc
225
+ Rendered README.rdoc (0.3ms)
226
+ Completed 200 OK in 5ms (Views: 4.6ms)
227
+ -----------------------------------------------------------------
228
+ TemplateAssertionsControllerTest: test_passes_with_correct_layout
229
+ -----------------------------------------------------------------
230
+ Processing by TemplateAssertionsController#render_with_layout as HTML
231
+ Rendering test/hello_world.html.erb within layouts/standard
232
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
233
+ Completed 200 OK in 1ms (Views: 0.5ms)
234
+ -----------------------------------------------------------------------
235
+ TemplateAssertionsControllerTest: test_fails_expecting_not_known_layout
236
+ -----------------------------------------------------------------------
237
+ Processing by TemplateAssertionsController#render_with_layout as HTML
238
+ Rendering test/hello_world.html.erb within layouts/standard
239
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
240
+ Completed 200 OK in 1ms (Views: 0.6ms)
241
+ ------------------------------------------------------------
242
+ TemplateAssertionsControllerTest: test_passed_with_no_layout
243
+ ------------------------------------------------------------
244
+ Processing by TemplateAssertionsController#render_with_template as HTML
245
+ Rendering test/hello_world.html.erb
246
+ Rendered test/hello_world.html.erb (0.1ms)
247
+ Completed 200 OK in 1ms (Views: 0.7ms)
248
+ ------------------------------------------------------------------
249
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_symbol
250
+ ------------------------------------------------------------------
251
+ Processing by TemplateAssertionsController#render_with_template as HTML
252
+ Rendering test/hello_world.html.erb
253
+ Rendered test/hello_world.html.erb (0.1ms)
254
+ Completed 200 OK in 1ms (Views: 0.6ms)
255
+ ----------------------------------------------------------------------
256
+ TemplateAssertionsControllerTest: test_file_with_relative_path_success
257
+ ----------------------------------------------------------------------
258
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
259
+ Rendering README.rdoc
260
+ Rendered README.rdoc (0.1ms)
261
+ Completed 200 OK in 1ms (Views: 0.5ms)
262
+ ----------------------------------------------------------------
263
+ TemplateAssertionsControllerTest: test_fails_expecting_no_layout
264
+ ----------------------------------------------------------------
265
+ Processing by TemplateAssertionsController#render_with_layout as HTML
266
+ Rendering test/hello_world.html.erb within layouts/standard
267
+ Rendered test/hello_world.html.erb within layouts/standard (0.1ms)
268
+ Completed 200 OK in 1ms (Views: 0.5ms)
269
+ ---------------------------------------------------
270
+ TemplateAssertionsControllerTest: test_with_partial
271
+ ---------------------------------------------------
272
+ Processing by TemplateAssertionsController#render_with_partial as HTML
273
+ Rendered test/_partial.html.erb (0.1ms)
274
+ Completed 200 OK in 1ms (Views: 0.5ms)
275
+ -------------------------------------------------------------------------------------
276
+ TemplateAssertionsControllerTest: test_with_empty_string_fails_when_template_rendered
277
+ -------------------------------------------------------------------------------------
278
+ Processing by TemplateAssertionsController#render_with_template as HTML
279
+ Rendering test/hello_world.html.erb
280
+ Rendered test/hello_world.html.erb (0.1ms)
281
+ Completed 200 OK in 0ms (Views: 0.4ms)
282
+ -----------------------------------------------------------------------
283
+ TemplateAssertionsControllerTest: test_fails_with_repeated_name_in_path
284
+ -----------------------------------------------------------------------
285
+ Processing by TemplateAssertionsController#render_with_template_repeating_in_path as HTML
286
+ Rendering test/hello/hello.html.erb
287
+ Rendered test/hello/hello.html.erb (0.8ms)
288
+ Completed 200 OK in 4ms (Views: 3.9ms)
289
+ --------------------------------------------------------
290
+ TemplateAssertionsControllerTest: test_with_file_failure
291
+ --------------------------------------------------------
292
+ Processing by TemplateAssertionsController#render_file_absolute_path as HTML
293
+ Rendering README.rdoc
294
+ Rendered README.rdoc (0.1ms)
295
+ Completed 200 OK in 1ms (Views: 0.9ms)
296
+ Processing by TemplateAssertionsController#render_file_absolute_path as HTML
297
+ Rendering README.rdoc
298
+ Rendered README.rdoc (0.1ms)
299
+ Completed 200 OK in 1ms (Views: 0.7ms)
300
+ -----------------------------------------------------------------------------------
301
+ TemplateAssertionsControllerTest: test_with_invalid_hash_keys_raises_argument_error
302
+ -----------------------------------------------------------------------------------
303
+ --------------------------------------------------------------
304
+ TemplateAssertionsControllerTest: test_fails_with_wrong_layout
305
+ --------------------------------------------------------------
306
+ Processing by TemplateAssertionsController#render_with_layout as HTML
307
+ Rendering test/hello_world.html.erb within layouts/standard
308
+ Rendered test/hello_world.html.erb within layouts/standard (0.1ms)
309
+ Completed 200 OK in 1ms (Views: 0.5ms)
310
+ -----------------------------------------------------------------
311
+ TemplateAssertionsControllerTest: test_passes_with_correct_symbol
312
+ -----------------------------------------------------------------
313
+ Processing by TemplateAssertionsController#render_with_template as HTML
314
+ Rendering test/hello_world.html.erb
315
+ Rendered test/hello_world.html.erb (0.1ms)
316
+ Completed 200 OK in 1ms (Views: 0.6ms)
317
+ --------------------------------------------------------------------------------
318
+ TemplateAssertionsControllerTest: test_with_nil_passes_when_no_template_rendered
319
+ --------------------------------------------------------------------------------
320
+ Processing by TemplateAssertionsController#render_nothing as HTML
321
+ Completed 200 OK in 0ms
322
+ -----------------------------------------------------------------
323
+ TemplateAssertionsControllerTest: test_passes_with_correct_string
324
+ -----------------------------------------------------------------
325
+ Processing by TemplateAssertionsController#render_with_template as HTML
326
+ Rendering test/hello_world.html.erb
327
+ Rendered test/hello_world.html.erb (0.1ms)
328
+ Completed 200 OK in 1ms (Views: 0.9ms)
329
+ ------------------------------------------------------------------------
330
+ TemplateAssertionsControllerTest: test_passes_with_correct_layout_symbol
331
+ ------------------------------------------------------------------------
332
+ Processing by TemplateAssertionsController#render_with_layout as HTML
333
+ Rendering test/hello_world.html.erb within layouts/standard
334
+ Rendered test/hello_world.html.erb within layouts/standard (0.1ms)
335
+ Completed 200 OK in 1ms (Views: 0.8ms)
336
+ ----------------------------------------------------------------------------------------
337
+ TemplateAssertionsControllerTest: test_with_empty_string_fails_when_no_template_rendered
338
+ ----------------------------------------------------------------------------------------
339
+ Processing by TemplateAssertionsController#render_nothing as HTML
340
+ Completed 200 OK in 0ms
341
+ ------------------------------------------------------------------
342
+ TemplateAssertionsControllerTest: test_passed_with_no_layout_false
343
+ ------------------------------------------------------------------
344
+ Processing by TemplateAssertionsController#render_with_template as HTML
345
+ Rendering test/hello_world.html.erb
346
+ Rendered test/hello_world.html.erb (0.1ms)
347
+ Completed 200 OK in 1ms (Views: 0.8ms)
348
+ ----------------------------------------------------------------------------------------
349
+ TemplateAssertionsControllerTest: test_locals_option_to_assert_template_is_not_supported
350
+ ----------------------------------------------------------------------------------------
351
+ Processing by TemplateAssertionsController#render_nothing as HTML
352
+ Completed 200 OK in 0ms
353
+ ----------------------------------------
354
+ AssignsControllerTest: test_view_assigns
355
+ ----------------------------------------
356
+ Processing by ViewAssignsController#test_assigns as HTML
357
+ Completed 200 OK in 0ms
358
+ -----------------------------------
359
+ AssignsControllerTest: test_assigns
360
+ -----------------------------------
361
+ Processing by AssignsController#test_assigns as HTML
362
+ Completed 200 OK in 0ms
363
+ --------------------------------------------------------------------------------------------
364
+ TemplateAssertionsIntegrationTest: test_layout_reset_between_requests_when_opening_a_session
365
+ --------------------------------------------------------------------------------------------
366
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2016-08-25 04:37:23 -0300
367
+ Processing by TemplateAssertionsController#render_with_layout as HTML
368
+ Rendering test/hello_world.html.erb within layouts/standard
369
+ Rendered test/hello_world.html.erb within layouts/standard (1.6ms)
370
+ Completed 200 OK in 16ms (Views: 16.0ms)
371
+ -------------------------------------------------------------------------------
372
+ TemplateAssertionsIntegrationTest: test_assigns_do_not_reset_template_assertion
373
+ -------------------------------------------------------------------------------
374
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2016-08-25 04:37:24 -0300
375
+ Processing by TemplateAssertionsController#render_with_layout as HTML
376
+ Rendering test/hello_world.html.erb within layouts/standard
377
+ Rendered test/hello_world.html.erb within layouts/standard (1.1ms)
378
+ Completed 200 OK in 7ms (Views: 6.4ms)
379
+ ----------------------------------------------------------------------
380
+ TemplateAssertionsIntegrationTest: test_partial_reset_between_requests
381
+ ----------------------------------------------------------------------
382
+ Started GET "/template_assertions/render_with_partial" for 127.0.0.1 at 2016-08-25 04:37:24 -0300
383
+ Processing by TemplateAssertionsController#render_with_partial as HTML
384
+ Rendered test/_partial.html.erb (0.3ms)
385
+ Completed 200 OK in 2ms (Views: 1.9ms)
386
+ ---------------------------------------------------------------------------------------------
387
+ TemplateAssertionsIntegrationTest: test_partial_reset_between_requests_when_opening_a_session
388
+ ---------------------------------------------------------------------------------------------
389
+ Started GET "/template_assertions/render_with_partial" for 127.0.0.1 at 2016-08-25 04:37:24 -0300
390
+ Processing by TemplateAssertionsController#render_with_partial as HTML
391
+ Rendered test/_partial.html.erb (0.3ms)
392
+ Completed 200 OK in 3ms (Views: 2.7ms)
393
+ -------------------------------------------------------------------------------
394
+ TemplateAssertionsIntegrationTest: test_cookies_do_not_reset_template_assertion
395
+ -------------------------------------------------------------------------------
396
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2016-08-25 04:37:24 -0300
397
+ Processing by TemplateAssertionsController#render_with_layout as HTML
398
+ Rendering test/hello_world.html.erb within layouts/standard
399
+ Rendered test/hello_world.html.erb within layouts/standard (0.4ms)
400
+ Completed 200 OK in 5ms (Views: 5.2ms)
401
+ ----------------------------------------------------------------------------------------------
402
+ TemplateAssertionsIntegrationTest: test_template_reset_between_requests_when_opening_a_session
403
+ ----------------------------------------------------------------------------------------------
404
+ Started GET "/template_assertions/render_with_template" for 127.0.0.1 at 2016-08-25 04:37:24 -0300
405
+ Processing by TemplateAssertionsController#render_with_template as HTML
406
+ Rendering test/hello_world.html.erb
407
+ Rendered test/hello_world.html.erb (0.3ms)
408
+ Completed 200 OK in 4ms (Views: 4.0ms)
409
+ ---------------------------------------------------------------------
410
+ TemplateAssertionsIntegrationTest: test_layout_reset_between_requests
411
+ ---------------------------------------------------------------------
412
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2016-08-25 04:37:24 -0300
413
+ Processing by TemplateAssertionsController#render_with_layout as HTML
414
+ Rendering test/hello_world.html.erb within layouts/standard
415
+ Rendered test/hello_world.html.erb within layouts/standard (0.2ms)
416
+ Completed 200 OK in 12ms (Views: 11.8ms)
417
+ -----------------------------------------------------------------------
418
+ TemplateAssertionsIntegrationTest: test_template_reset_between_requests
419
+ -----------------------------------------------------------------------
420
+ Started GET "/template_assertions/render_with_template" for 127.0.0.1 at 2016-08-25 04:37:24 -0300
421
+ Processing by TemplateAssertionsController#render_with_template as HTML
422
+ Rendering test/hello_world.html.erb
423
+ Rendered test/hello_world.html.erb (0.5ms)
424
+ Completed 200 OK in 7ms (Views: 7.0ms)
425
+ -------------------------------------------------------------------
426
+ TemplateAssertionsIntegrationTest: test_file_reset_between_requests
427
+ -------------------------------------------------------------------
428
+ Started GET "/template_assertions/render_file_relative_path" for 127.0.0.1 at 2016-08-25 04:37:24 -0300
429
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
430
+ Rendering README.rdoc
431
+ Rendered README.rdoc (0.4ms)
432
+ Completed 200 OK in 6ms (Views: 6.3ms)
433
+ ------------------------------------------------------------------------------------------
434
+ TemplateAssertionsIntegrationTest: test_file_reset_between_requests_when_opening_a_session
435
+ ------------------------------------------------------------------------------------------
436
+ Started GET "/template_assertions/render_file_relative_path" for 127.0.0.1 at 2016-08-25 04:37:24 -0300
437
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
438
+ Rendering README.rdoc
439
+ Rendered README.rdoc (0.5ms)
440
+ Completed 200 OK in 9ms (Views: 9.2ms)
441
+ --------------------------------------------------------------------------------
442
+ TemplateAssertionsControllerTest: test_with_nil_passes_when_no_template_rendered
443
+ --------------------------------------------------------------------------------
444
+ Processing by TemplateAssertionsController#render_nothing as HTML
445
+ Completed 200 OK in 0ms
446
+ ------------------------------------------------------------------
447
+ TemplateAssertionsControllerTest: test_passed_with_no_layout_false
448
+ ------------------------------------------------------------------
449
+ Processing by TemplateAssertionsController#render_with_template as HTML
450
+ Rendering test/hello_world.html.erb
451
+ Rendered test/hello_world.html.erb (0.7ms)
452
+ Completed 200 OK in 3ms (Views: 2.4ms)
453
+ ----------------------------------------------------------------------
454
+ TemplateAssertionsControllerTest: test_file_with_relative_path_success
455
+ ----------------------------------------------------------------------
456
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
457
+ Rendering README.rdoc
458
+ Rendered README.rdoc (0.1ms)
459
+ Completed 200 OK in 1ms (Views: 0.7ms)
460
+ -----------------------------------------------------------------------
461
+ TemplateAssertionsControllerTest: test_fails_expecting_not_known_layout
462
+ -----------------------------------------------------------------------
463
+ Processing by TemplateAssertionsController#render_with_layout as HTML
464
+ Rendering test/hello_world.html.erb within layouts/standard
465
+ Rendered test/hello_world.html.erb within layouts/standard (0.1ms)
466
+ Completed 200 OK in 4ms (Views: 3.7ms)
467
+ -----------------------------------------------------------------
468
+ TemplateAssertionsControllerTest: test_passes_with_correct_layout
469
+ -----------------------------------------------------------------
470
+ Processing by TemplateAssertionsController#render_with_layout as HTML
471
+ Rendering test/hello_world.html.erb within layouts/standard
472
+ Rendered test/hello_world.html.erb within layouts/standard (0.1ms)
473
+ Completed 200 OK in 2ms (Views: 1.7ms)
474
+ ------------------------------------------------------------------
475
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_symbol
476
+ ------------------------------------------------------------------
477
+ Processing by TemplateAssertionsController#render_with_template as HTML
478
+ Rendering test/hello_world.html.erb
479
+ Rendered test/hello_world.html.erb (0.0ms)
480
+ Completed 200 OK in 0ms (Views: 0.3ms)
481
+ ----------------------------------------------------------------------------------------
482
+ TemplateAssertionsControllerTest: test_with_empty_string_fails_when_no_template_rendered
483
+ ----------------------------------------------------------------------------------------
484
+ Processing by TemplateAssertionsController#render_nothing as HTML
485
+ Completed 200 OK in 0ms
486
+ ---------------------------------------------------------------------
487
+ TemplateAssertionsControllerTest: test_passes_with_layout_and_partial
488
+ ---------------------------------------------------------------------
489
+ Processing by TemplateAssertionsController#render_with_layout_and_partial as HTML
490
+ Rendering test/hello_world_with_partial.html.erb within layouts/standard
491
+ Rendered test/_partial.html.erb (0.3ms)
492
+ Rendered test/hello_world_with_partial.html.erb within layouts/standard (2.4ms)
493
+ Completed 200 OK in 5ms (Views: 5.0ms)
494
+ --------------------------------------------------------
495
+ TemplateAssertionsControllerTest: test_with_file_failure
496
+ --------------------------------------------------------
497
+ Processing by TemplateAssertionsController#render_file_absolute_path as HTML
498
+ Rendering README.rdoc
499
+ Rendered README.rdoc (0.2ms)
500
+ Completed 200 OK in 6ms (Views: 6.1ms)
501
+ -----------------------------------------------------------------
502
+ TemplateAssertionsControllerTest: test_passes_with_correct_string
503
+ -----------------------------------------------------------------
504
+ Processing by TemplateAssertionsController#render_with_template as HTML
505
+ Rendering test/hello_world.html.erb
506
+ Rendered test/hello_world.html.erb (0.0ms)
507
+ Completed 200 OK in 1ms (Views: 0.8ms)
508
+ -----------------------------------------------------------------------------------
509
+ TemplateAssertionsControllerTest: test_with_invalid_hash_keys_raises_argument_error
510
+ -----------------------------------------------------------------------------------
511
+ -----------------------------------------------------------------------------
512
+ TemplateAssertionsControllerTest: test_assert_template_reset_between_requests
513
+ -----------------------------------------------------------------------------
514
+ Processing by TemplateAssertionsController#render_with_template as HTML
515
+ Rendering test/hello_world.html.erb
516
+ Rendered test/hello_world.html.erb (0.0ms)
517
+ Completed 200 OK in 0ms (Views: 0.4ms)
518
+ -----------------------------------------------------------------
519
+ TemplateAssertionsControllerTest: test_passes_with_correct_symbol
520
+ -----------------------------------------------------------------
521
+ Processing by TemplateAssertionsController#render_with_template as HTML
522
+ Rendering test/hello_world.html.erb
523
+ Rendered test/hello_world.html.erb (0.0ms)
524
+ Completed 200 OK in 0ms (Views: 0.4ms)
525
+ -------------------------------------------------------------------------------
526
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_symbol_that_matches
527
+ -------------------------------------------------------------------------------
528
+ Processing by TemplateAssertionsController#render_with_template as HTML
529
+ Rendering test/hello_world.html.erb
530
+ Rendered test/hello_world.html.erb (0.0ms)
531
+ Completed 200 OK in 1ms (Views: 0.5ms)
532
+ -----------------------------------------------------------------------
533
+ TemplateAssertionsControllerTest: test_fails_with_repeated_name_in_path
534
+ -----------------------------------------------------------------------
535
+ Processing by TemplateAssertionsController#render_with_template_repeating_in_path as HTML
536
+ Rendering test/hello/hello.html.erb
537
+ Rendered test/hello/hello.html.erb (0.4ms)
538
+ Completed 200 OK in 3ms (Views: 2.5ms)
539
+ -------------------------------------------------------------------------------
540
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_string_that_matches
541
+ -------------------------------------------------------------------------------
542
+ Processing by TemplateAssertionsController#render_with_template as HTML
543
+ Rendering test/hello_world.html.erb
544
+ Rendered test/hello_world.html.erb (0.1ms)
545
+ Completed 200 OK in 1ms (Views: 0.7ms)
546
+ ------------------------------------------------------------
547
+ TemplateAssertionsControllerTest: test_passed_with_no_layout
548
+ ------------------------------------------------------------
549
+ Processing by TemplateAssertionsController#render_with_template as HTML
550
+ Rendering test/hello_world.html.erb
551
+ Rendered test/hello_world.html.erb (0.0ms)
552
+ Completed 200 OK in 1ms (Views: 1.0ms)
553
+ ------------------------------------------------------------------------
554
+ TemplateAssertionsControllerTest: test_passes_with_correct_layout_symbol
555
+ ------------------------------------------------------------------------
556
+ Processing by TemplateAssertionsController#render_with_layout as HTML
557
+ Rendering test/hello_world.html.erb within layouts/standard
558
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
559
+ Completed 200 OK in 1ms (Views: 0.8ms)
560
+ ----------------------------------------------------------------------------------------
561
+ TemplateAssertionsControllerTest: test_locals_option_to_assert_template_is_not_supported
562
+ ----------------------------------------------------------------------------------------
563
+ Processing by TemplateAssertionsController#render_nothing as HTML
564
+ Completed 200 OK in 0ms
565
+ -------------------------------------------------------------------------------------
566
+ TemplateAssertionsControllerTest: test_with_empty_string_fails_when_template_rendered
567
+ -------------------------------------------------------------------------------------
568
+ Processing by TemplateAssertionsController#render_with_template as HTML
569
+ Rendering test/hello_world.html.erb
570
+ Rendered test/hello_world.html.erb (0.0ms)
571
+ Completed 200 OK in 0ms (Views: 0.3ms)
572
+ ----------------------------------------------------------------
573
+ TemplateAssertionsControllerTest: test_fails_expecting_no_layout
574
+ ----------------------------------------------------------------
575
+ Processing by TemplateAssertionsController#render_with_layout as HTML
576
+ Rendering test/hello_world.html.erb within layouts/standard
577
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
578
+ Completed 200 OK in 0ms (Views: 0.3ms)
579
+ ----------------------------------------------------------------------
580
+ TemplateAssertionsControllerTest: test_file_with_absolute_path_success
581
+ ----------------------------------------------------------------------
582
+ Processing by TemplateAssertionsController#render_file_absolute_path as HTML
583
+ Rendering README.rdoc
584
+ Rendered README.rdoc (0.0ms)
585
+ Completed 200 OK in 0ms (Views: 0.4ms)
586
+ ---------------------------------------------------
587
+ TemplateAssertionsControllerTest: test_with_partial
588
+ ---------------------------------------------------
589
+ Processing by TemplateAssertionsController#render_with_partial as HTML
590
+ Rendered test/_partial.html.erb (0.1ms)
591
+ Completed 200 OK in 1ms (Views: 0.5ms)
592
+ ------------------------------------------------------------------
593
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_string
594
+ ------------------------------------------------------------------
595
+ Processing by TemplateAssertionsController#render_with_template as HTML
596
+ Rendering test/hello_world.html.erb
597
+ Rendered test/hello_world.html.erb (0.0ms)
598
+ Completed 200 OK in 1ms (Views: 0.6ms)
599
+ --------------------------------------------------------------
600
+ TemplateAssertionsControllerTest: test_fails_with_wrong_layout
601
+ --------------------------------------------------------------
602
+ Processing by TemplateAssertionsController#render_with_layout as HTML
603
+ Rendering test/hello_world.html.erb within layouts/standard
604
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
605
+ Completed 200 OK in 1ms (Views: 0.5ms)
606
+ ----------------------------------------------------------------------------------------
607
+ TemplateAssertionsControllerTest: test_passes_with_correct_layout_without_layouts_prefix
608
+ ----------------------------------------------------------------------------------------
609
+ Processing by TemplateAssertionsController#render_with_layout as HTML
610
+ Rendering test/hello_world.html.erb within layouts/standard
611
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
612
+ Completed 200 OK in 1ms (Views: 0.5ms)
613
+ ----------------------------------------------------------------------------
614
+ TemplateAssertionsControllerTest: test_with_nil_fails_when_template_rendered
615
+ ----------------------------------------------------------------------------
616
+ Processing by TemplateAssertionsController#render_with_template as HTML
617
+ Rendering test/hello_world.html.erb
618
+ Rendered test/hello_world.html.erb (0.1ms)
619
+ Completed 200 OK in 1ms (Views: 0.7ms)
620
+ -----------------------------------
621
+ AssignsControllerTest: test_assigns
622
+ -----------------------------------
623
+ Processing by AssignsController#test_assigns as HTML
624
+ Completed 200 OK in 0ms
625
+ ----------------------------------------
626
+ AssignsControllerTest: test_view_assigns
627
+ ----------------------------------------
628
+ Processing by ViewAssignsController#test_assigns as HTML
629
+ Completed 200 OK in 0ms
630
+ -------------------------------------------------------------------------------------------------------------
631
+ RenderTemplateTest: test_specifying_locals_works_when_the_partial_is_inside_a_directory_with_underline_prefix
632
+ -------------------------------------------------------------------------------------------------------------
633
+ Rendering test/render_partial_inside_directory.html.erb
634
+ Rendered test/_directory/_partial_with_locales.html.erb (0.4ms)
635
+ Rendered test/render_partial_inside_directory.html.erb (16.1ms)
636
+ ----------------------------------------------------------------------
637
+ RenderTemplateTest: test_supports_different_locals_on_the_same_partial
638
+ ----------------------------------------------------------------------
639
+ Rendering test/render_two_partials.html.erb
640
+ Rendered test/_partial.html.erb (0.3ms)
641
+ Rendered test/_partial.html.erb (0.3ms)
642
+ Rendered test/render_two_partials.html.erb (30.4ms)
643
+ ----------------------------------------------------------------------------------------
644
+ RenderTemplateTest: test_raises_descriptive_error_message_when_template_was_not_rendered
645
+ ----------------------------------------------------------------------------------------
646
+ Rendering test/hello_world_with_partial.html.erb
647
+ Rendered test/_partial.html.erb (0.5ms)
648
+ Rendered test/hello_world_with_partial.html.erb (13.0ms)
649
+ -------------------------------------------------------------
650
+ RenderTemplateTest: test_supports_specifying_locals_(failing)
651
+ -------------------------------------------------------------
652
+ Rendering test/calling_partial_with_layout.html.erb
653
+ Rendered test/_partial_for_use_in_layout.html.erb (17.2ms)
654
+ Rendered test/calling_partial_with_layout.html.erb (43.0ms)
655
+ --------------------------------------------------------------------
656
+ RenderTemplateTest: test_supports_specifying_templates_with_a_Regexp
657
+ --------------------------------------------------------------------
658
+ Rendering test/hello_world.html.erb
659
+ Rendered test/hello_world.html.erb (0.4ms)
660
+ ----------------------------------------------------------------------------------------------------------------
661
+ RenderTemplateTest: test_specifying_locals_works_when_the_partial_is_inside_a_directory_without_underline_prefix
662
+ ----------------------------------------------------------------------------------------------------------------
663
+ Rendering test/render_partial_inside_directory.html.erb
664
+ Rendered test/_directory/_partial_with_locales.html.erb (0.0ms)
665
+ Rendered test/render_partial_inside_directory.html.erb (0.2ms)
666
+ -----------------------------------------------------
667
+ RenderTemplateTest: test_supports_specifying_partials
668
+ -----------------------------------------------------
669
+ Rendering test/calling_partial_with_layout.html.erb
670
+ Rendered test/_partial_for_use_in_layout.html.erb (0.1ms)
671
+ Rendered test/calling_partial_with_layout.html.erb (0.3ms)
672
+ -------------------------------------------------------------
673
+ RenderTemplateTest: test_supports_specifying_locals_(passing)
674
+ -------------------------------------------------------------
675
+ Rendering test/calling_partial_with_layout.html.erb
676
+ Rendered test/_partial_for_use_in_layout.html.erb (0.1ms)
677
+ Rendered test/calling_partial_with_layout.html.erb (0.2ms)
678
+ -----------------------------------------------------
679
+ RenderTemplateTest: test_supports_specifying_partials
680
+ -----------------------------------------------------
681
+ Rendering test/calling_partial_with_layout.html.erb
682
+ Rendered test/_partial_for_use_in_layout.html.erb (16.5ms)
683
+ Rendered test/calling_partial_with_layout.html.erb (33.3ms)
684
+ ----------------------------------------------------------------------------------------
685
+ RenderTemplateTest: test_raises_descriptive_error_message_when_template_was_not_rendered
686
+ ----------------------------------------------------------------------------------------
687
+ Rendering test/hello_world_with_partial.html.erb
688
+ Rendered test/_partial.html.erb (0.3ms)
689
+ Rendered test/hello_world_with_partial.html.erb (13.7ms)
690
+ -------------------------------------------------------------
691
+ RenderTemplateTest: test_supports_specifying_locals_(failing)
692
+ -------------------------------------------------------------
693
+ Rendering test/calling_partial_with_layout.html.erb
694
+ Rendered test/_partial_for_use_in_layout.html.erb (0.1ms)
695
+ Rendered test/calling_partial_with_layout.html.erb (0.4ms)
696
+ ----------------------------------------------------------------------------------------------------------------
697
+ RenderTemplateTest: test_specifying_locals_works_when_the_partial_is_inside_a_directory_without_underline_prefix
698
+ ----------------------------------------------------------------------------------------------------------------
699
+ Rendering test/render_partial_inside_directory.html.erb
700
+ Rendered test/_directory/_partial_with_locales.html.erb (0.7ms)
701
+ Rendered test/render_partial_inside_directory.html.erb (19.1ms)
702
+ ----------------------------------------------------------------------
703
+ RenderTemplateTest: test_supports_different_locals_on_the_same_partial
704
+ ----------------------------------------------------------------------
705
+ Rendering test/render_two_partials.html.erb
706
+ Rendered test/_partial.html.erb (1.4ms)
707
+ Rendered test/_partial.html.erb (0.3ms)
708
+ Rendered test/render_two_partials.html.erb (30.1ms)
709
+ -------------------------------------------------------------
710
+ RenderTemplateTest: test_supports_specifying_locals_(passing)
711
+ -------------------------------------------------------------
712
+ Rendering test/calling_partial_with_layout.html.erb
713
+ Rendered test/_partial_for_use_in_layout.html.erb (0.1ms)
714
+ Rendered test/calling_partial_with_layout.html.erb (0.5ms)
715
+ -------------------------------------------------------------------------------------------------------------
716
+ RenderTemplateTest: test_specifying_locals_works_when_the_partial_is_inside_a_directory_with_underline_prefix
717
+ -------------------------------------------------------------------------------------------------------------
718
+ Rendering test/render_partial_inside_directory.html.erb
719
+ Rendered test/_directory/_partial_with_locales.html.erb (0.0ms)
720
+ Rendered test/render_partial_inside_directory.html.erb (0.2ms)
721
+ --------------------------------------------------------------------
722
+ RenderTemplateTest: test_supports_specifying_templates_with_a_Regexp
723
+ --------------------------------------------------------------------
724
+ Rendering test/hello_world.html.erb
725
+ Rendered test/hello_world.html.erb (0.5ms)
726
+ -----------------------------------
727
+ AssignsControllerTest: test_assigns
728
+ -----------------------------------
729
+ Processing by AssignsController#test_assigns as HTML
730
+ Completed 200 OK in 0ms
731
+ ----------------------------------------
732
+ AssignsControllerTest: test_view_assigns
733
+ ----------------------------------------
734
+ Processing by ViewAssignsController#test_assigns as HTML
735
+ Completed 200 OK in 0ms
736
+ ------------------------------------------------------------------------------------------
737
+ TemplateAssertionsIntegrationTest: test_file_reset_between_requests_when_opening_a_session
738
+ ------------------------------------------------------------------------------------------
739
+ Started GET "/template_assertions/render_file_relative_path" for 127.0.0.1 at 2016-08-25 04:37:46 -0300
740
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
741
+ Rendering README.rdoc
742
+ Rendered README.rdoc (0.7ms)
743
+ Completed 200 OK in 7ms (Views: 7.1ms)
744
+ -------------------------------------------------------------------------------
745
+ TemplateAssertionsIntegrationTest: test_assigns_do_not_reset_template_assertion
746
+ -------------------------------------------------------------------------------
747
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2016-08-25 04:37:46 -0300
748
+ Processing by TemplateAssertionsController#render_with_layout as HTML
749
+ Rendering test/hello_world.html.erb within layouts/standard
750
+ Rendered test/hello_world.html.erb within layouts/standard (0.4ms)
751
+ Completed 200 OK in 6ms (Views: 5.5ms)
752
+ ---------------------------------------------------------------------
753
+ TemplateAssertionsIntegrationTest: test_layout_reset_between_requests
754
+ ---------------------------------------------------------------------
755
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2016-08-25 04:37:46 -0300
756
+ Processing by TemplateAssertionsController#render_with_layout as HTML
757
+ Rendering test/hello_world.html.erb within layouts/standard
758
+ Rendered test/hello_world.html.erb within layouts/standard (0.3ms)
759
+ Completed 200 OK in 3ms (Views: 3.0ms)
760
+ --------------------------------------------------------------------------------------------
761
+ TemplateAssertionsIntegrationTest: test_layout_reset_between_requests_when_opening_a_session
762
+ --------------------------------------------------------------------------------------------
763
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2016-08-25 04:37:46 -0300
764
+ Processing by TemplateAssertionsController#render_with_layout as HTML
765
+ Rendering test/hello_world.html.erb within layouts/standard
766
+ Rendered test/hello_world.html.erb within layouts/standard (0.4ms)
767
+ Completed 200 OK in 5ms (Views: 5.2ms)
768
+ ---------------------------------------------------------------------------------------------
769
+ TemplateAssertionsIntegrationTest: test_partial_reset_between_requests_when_opening_a_session
770
+ ---------------------------------------------------------------------------------------------
771
+ Started GET "/template_assertions/render_with_partial" for 127.0.0.1 at 2016-08-25 04:37:46 -0300
772
+ Processing by TemplateAssertionsController#render_with_partial as HTML
773
+ Rendered test/_partial.html.erb (0.3ms)
774
+ Completed 200 OK in 3ms (Views: 2.4ms)
775
+ -------------------------------------------------------------------------------
776
+ TemplateAssertionsIntegrationTest: test_cookies_do_not_reset_template_assertion
777
+ -------------------------------------------------------------------------------
778
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2016-08-25 04:37:46 -0300
779
+ Processing by TemplateAssertionsController#render_with_layout as HTML
780
+ Rendering test/hello_world.html.erb within layouts/standard
781
+ Rendered test/hello_world.html.erb within layouts/standard (0.3ms)
782
+ Completed 200 OK in 4ms (Views: 3.9ms)
783
+ -----------------------------------------------------------------------
784
+ TemplateAssertionsIntegrationTest: test_template_reset_between_requests
785
+ -----------------------------------------------------------------------
786
+ Started GET "/template_assertions/render_with_template" for 127.0.0.1 at 2016-08-25 04:37:46 -0300
787
+ Processing by TemplateAssertionsController#render_with_template as HTML
788
+ Rendering test/hello_world.html.erb
789
+ Rendered test/hello_world.html.erb (0.2ms)
790
+ Completed 200 OK in 3ms (Views: 3.4ms)
791
+ ----------------------------------------------------------------------------------------------
792
+ TemplateAssertionsIntegrationTest: test_template_reset_between_requests_when_opening_a_session
793
+ ----------------------------------------------------------------------------------------------
794
+ Started GET "/template_assertions/render_with_template" for 127.0.0.1 at 2016-08-25 04:37:46 -0300
795
+ Processing by TemplateAssertionsController#render_with_template as HTML
796
+ Rendering test/hello_world.html.erb
797
+ Rendered test/hello_world.html.erb (0.2ms)
798
+ Completed 200 OK in 3ms (Views: 3.4ms)
799
+ ----------------------------------------------------------------------
800
+ TemplateAssertionsIntegrationTest: test_partial_reset_between_requests
801
+ ----------------------------------------------------------------------
802
+ Started GET "/template_assertions/render_with_partial" for 127.0.0.1 at 2016-08-25 04:37:46 -0300
803
+ Processing by TemplateAssertionsController#render_with_partial as HTML
804
+ Rendered test/_partial.html.erb (0.3ms)
805
+ Completed 200 OK in 2ms (Views: 1.5ms)
806
+ -------------------------------------------------------------------
807
+ TemplateAssertionsIntegrationTest: test_file_reset_between_requests
808
+ -------------------------------------------------------------------
809
+ Started GET "/template_assertions/render_file_relative_path" for 127.0.0.1 at 2016-08-25 04:37:46 -0300
810
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
811
+ Rendering README.rdoc
812
+ Rendered README.rdoc (0.3ms)
813
+ Completed 200 OK in 7ms (Views: 7.0ms)
814
+ ------------------------------------------------------------------
815
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_symbol
816
+ ------------------------------------------------------------------
817
+ Processing by TemplateAssertionsController#render_with_template as HTML
818
+ Rendering test/hello_world.html.erb
819
+ Rendered test/hello_world.html.erb (0.2ms)
820
+ Completed 200 OK in 2ms (Views: 1.6ms)
821
+ -----------------------------------------------------------------
822
+ TemplateAssertionsControllerTest: test_passes_with_correct_symbol
823
+ -----------------------------------------------------------------
824
+ Processing by TemplateAssertionsController#render_with_template as HTML
825
+ Rendering test/hello_world.html.erb
826
+ Rendered test/hello_world.html.erb (0.0ms)
827
+ Completed 200 OK in 0ms (Views: 0.4ms)
828
+ ------------------------------------------------------------------------
829
+ TemplateAssertionsControllerTest: test_passes_with_correct_layout_symbol
830
+ ------------------------------------------------------------------------
831
+ Processing by TemplateAssertionsController#render_with_layout as HTML
832
+ Rendering test/hello_world.html.erb within layouts/standard
833
+ Rendered test/hello_world.html.erb within layouts/standard (0.1ms)
834
+ Completed 200 OK in 3ms (Views: 2.6ms)
835
+ ----------------------------------------------------------------------------
836
+ TemplateAssertionsControllerTest: test_with_nil_fails_when_template_rendered
837
+ ----------------------------------------------------------------------------
838
+ Processing by TemplateAssertionsController#render_with_template as HTML
839
+ Rendering test/hello_world.html.erb
840
+ Rendered test/hello_world.html.erb (0.1ms)
841
+ Completed 200 OK in 1ms (Views: 0.7ms)
842
+ ----------------------------------------------------------------------------------------
843
+ TemplateAssertionsControllerTest: test_with_empty_string_fails_when_no_template_rendered
844
+ ----------------------------------------------------------------------------------------
845
+ Processing by TemplateAssertionsController#render_nothing as HTML
846
+ Completed 200 OK in 0ms
847
+ -----------------------------------------------------------------
848
+ TemplateAssertionsControllerTest: test_passes_with_correct_string
849
+ -----------------------------------------------------------------
850
+ Processing by TemplateAssertionsController#render_with_template as HTML
851
+ Rendering test/hello_world.html.erb
852
+ Rendered test/hello_world.html.erb (0.0ms)
853
+ Completed 200 OK in 1ms (Views: 0.7ms)
854
+ ---------------------------------------------------------------------
855
+ TemplateAssertionsControllerTest: test_passes_with_layout_and_partial
856
+ ---------------------------------------------------------------------
857
+ Processing by TemplateAssertionsController#render_with_layout_and_partial as HTML
858
+ Rendering test/hello_world_with_partial.html.erb within layouts/standard
859
+ Rendered test/_partial.html.erb (0.2ms)
860
+ Rendered test/hello_world_with_partial.html.erb within layouts/standard (1.7ms)
861
+ Completed 200 OK in 3ms (Views: 3.1ms)
862
+ ------------------------------------------------------------
863
+ TemplateAssertionsControllerTest: test_passed_with_no_layout
864
+ ------------------------------------------------------------
865
+ Processing by TemplateAssertionsController#render_with_template as HTML
866
+ Rendering test/hello_world.html.erb
867
+ Rendered test/hello_world.html.erb (0.0ms)
868
+ Completed 200 OK in 0ms (Views: 0.4ms)
869
+ ----------------------------------------------------------------------------------------
870
+ TemplateAssertionsControllerTest: test_locals_option_to_assert_template_is_not_supported
871
+ ----------------------------------------------------------------------------------------
872
+ Processing by TemplateAssertionsController#render_nothing as HTML
873
+ Completed 200 OK in 0ms
874
+ -------------------------------------------------------------------------------------
875
+ TemplateAssertionsControllerTest: test_with_empty_string_fails_when_template_rendered
876
+ -------------------------------------------------------------------------------------
877
+ Processing by TemplateAssertionsController#render_with_template as HTML
878
+ Rendering test/hello_world.html.erb
879
+ Rendered test/hello_world.html.erb (0.0ms)
880
+ Completed 200 OK in 0ms (Views: 0.3ms)
881
+ --------------------------------------------------------------------------------
882
+ TemplateAssertionsControllerTest: test_with_nil_passes_when_no_template_rendered
883
+ --------------------------------------------------------------------------------
884
+ Processing by TemplateAssertionsController#render_nothing as HTML
885
+ Completed 200 OK in 0ms
886
+ ----------------------------------------------------------------
887
+ TemplateAssertionsControllerTest: test_fails_expecting_no_layout
888
+ ----------------------------------------------------------------
889
+ Processing by TemplateAssertionsController#render_with_layout as HTML
890
+ Rendering test/hello_world.html.erb within layouts/standard
891
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
892
+ Completed 200 OK in 0ms (Views: 0.4ms)
893
+ -----------------------------------------------------------------------------------
894
+ TemplateAssertionsControllerTest: test_with_invalid_hash_keys_raises_argument_error
895
+ -----------------------------------------------------------------------------------
896
+ ----------------------------------------------------------------------
897
+ TemplateAssertionsControllerTest: test_file_with_absolute_path_success
898
+ ----------------------------------------------------------------------
899
+ Processing by TemplateAssertionsController#render_file_absolute_path as HTML
900
+ Rendering README.rdoc
901
+ Rendered README.rdoc (0.4ms)
902
+ Completed 200 OK in 5ms (Views: 4.7ms)
903
+ -----------------------------------------------------------------------------
904
+ TemplateAssertionsControllerTest: test_assert_template_reset_between_requests
905
+ -----------------------------------------------------------------------------
906
+ Processing by TemplateAssertionsController#render_with_template as HTML
907
+ Rendering test/hello_world.html.erb
908
+ Rendered test/hello_world.html.erb (0.1ms)
909
+ Completed 200 OK in 1ms (Views: 0.6ms)
910
+ ----------------------------------------------------------------------
911
+ TemplateAssertionsControllerTest: test_file_with_relative_path_success
912
+ ----------------------------------------------------------------------
913
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
914
+ Rendering README.rdoc
915
+ Rendered README.rdoc (0.0ms)
916
+ Completed 200 OK in 1ms (Views: 0.5ms)
917
+ -----------------------------------------------------------------------
918
+ TemplateAssertionsControllerTest: test_fails_with_repeated_name_in_path
919
+ -----------------------------------------------------------------------
920
+ Processing by TemplateAssertionsController#render_with_template_repeating_in_path as HTML
921
+ Rendering test/hello/hello.html.erb
922
+ Rendered test/hello/hello.html.erb (0.5ms)
923
+ Completed 200 OK in 3ms (Views: 2.8ms)
924
+ ------------------------------------------------------------------
925
+ TemplateAssertionsControllerTest: test_passed_with_no_layout_false
926
+ ------------------------------------------------------------------
927
+ Processing by TemplateAssertionsController#render_with_template as HTML
928
+ Rendering test/hello_world.html.erb
929
+ Rendered test/hello_world.html.erb (0.1ms)
930
+ Completed 200 OK in 2ms (Views: 1.4ms)
931
+ ----------------------------------------------------------------------------------------
932
+ TemplateAssertionsControllerTest: test_passes_with_correct_layout_without_layouts_prefix
933
+ ----------------------------------------------------------------------------------------
934
+ Processing by TemplateAssertionsController#render_with_layout as HTML
935
+ Rendering test/hello_world.html.erb within layouts/standard
936
+ Rendered test/hello_world.html.erb within layouts/standard (0.1ms)
937
+ Completed 200 OK in 1ms (Views: 0.7ms)
938
+ ------------------------------------------------------------------
939
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_string
940
+ ------------------------------------------------------------------
941
+ Processing by TemplateAssertionsController#render_with_template as HTML
942
+ Rendering test/hello_world.html.erb
943
+ Rendered test/hello_world.html.erb (0.1ms)
944
+ Completed 200 OK in 1ms (Views: 1.2ms)
945
+ --------------------------------------------------------------
946
+ TemplateAssertionsControllerTest: test_fails_with_wrong_layout
947
+ --------------------------------------------------------------
948
+ Processing by TemplateAssertionsController#render_with_layout as HTML
949
+ Rendering test/hello_world.html.erb within layouts/standard
950
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
951
+ Completed 200 OK in 1ms (Views: 0.7ms)
952
+ -------------------------------------------------------------------------------
953
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_string_that_matches
954
+ -------------------------------------------------------------------------------
955
+ Processing by TemplateAssertionsController#render_with_template as HTML
956
+ Rendering test/hello_world.html.erb
957
+ Rendered test/hello_world.html.erb (0.0ms)
958
+ Completed 200 OK in 1ms (Views: 0.5ms)
959
+ -------------------------------------------------------------------------------
960
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_symbol_that_matches
961
+ -------------------------------------------------------------------------------
962
+ Processing by TemplateAssertionsController#render_with_template as HTML
963
+ Rendering test/hello_world.html.erb
964
+ Rendered test/hello_world.html.erb (0.0ms)
965
+ Completed 200 OK in 1ms (Views: 0.6ms)
966
+ -----------------------------------------------------------------------
967
+ TemplateAssertionsControllerTest: test_fails_expecting_not_known_layout
968
+ -----------------------------------------------------------------------
969
+ Processing by TemplateAssertionsController#render_with_layout as HTML
970
+ Rendering test/hello_world.html.erb within layouts/standard
971
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
972
+ Completed 200 OK in 0ms (Views: 0.3ms)
973
+ -----------------------------------------------------------------
974
+ TemplateAssertionsControllerTest: test_passes_with_correct_layout
975
+ -----------------------------------------------------------------
976
+ Processing by TemplateAssertionsController#render_with_layout as HTML
977
+ Rendering test/hello_world.html.erb within layouts/standard
978
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
979
+ Completed 200 OK in 0ms (Views: 0.3ms)
980
+ ---------------------------------------------------
981
+ TemplateAssertionsControllerTest: test_with_partial
982
+ ---------------------------------------------------
983
+ Processing by TemplateAssertionsController#render_with_partial as HTML
984
+ Rendered test/_partial.html.erb (0.0ms)
985
+ Completed 200 OK in 0ms (Views: 0.3ms)
986
+ --------------------------------------------------------
987
+ TemplateAssertionsControllerTest: test_with_file_failure
988
+ --------------------------------------------------------
989
+ Processing by TemplateAssertionsController#render_file_absolute_path as HTML
990
+ Rendering README.rdoc
991
+ Rendered README.rdoc (0.0ms)
992
+ Completed 200 OK in 0ms (Views: 0.4ms)
993
+ -----------------------------------
994
+ AssignsControllerTest: test_assigns
995
+ -----------------------------------
996
+ Processing by AssignsController#test_assigns as HTML
997
+ Completed 200 OK in 0ms
998
+ ----------------------------------------
999
+ AssignsControllerTest: test_view_assigns
1000
+ ----------------------------------------
1001
+ Processing by ViewAssignsController#test_assigns as HTML
1002
+ Completed 200 OK in 0ms
1003
+ ----------------------------------------------------------------------------------------------
1004
+ TemplateAssertionsIntegrationTest: test_template_reset_between_requests_when_opening_a_session
1005
+ ----------------------------------------------------------------------------------------------
1006
+ Started GET "/template_assertions/render_with_template" for 127.0.0.1 at 2016-08-25 04:38:15 -0300
1007
+ Processing by TemplateAssertionsController#render_with_template as HTML
1008
+ Rendering test/hello_world.html.erb
1009
+ Rendered test/hello_world.html.erb (1.1ms)
1010
+ Completed 200 OK in 7ms (Views: 7.4ms)
1011
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:38:15 -0300
1012
+ Processing by TemplateAssertionsController#render_nothing as HTML
1013
+ Completed 200 OK in 0ms
1014
+ ------------------------------------------------------------------------------------------
1015
+ TemplateAssertionsIntegrationTest: test_file_reset_between_requests_when_opening_a_session
1016
+ ------------------------------------------------------------------------------------------
1017
+ Started GET "/template_assertions/render_file_relative_path" for 127.0.0.1 at 2016-08-25 04:38:15 -0300
1018
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
1019
+ Rendering README.rdoc
1020
+ Rendered README.rdoc (1.1ms)
1021
+ Completed 200 OK in 9ms (Views: 9.2ms)
1022
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:38:15 -0300
1023
+ Processing by TemplateAssertionsController#render_nothing as HTML
1024
+ Completed 200 OK in 0ms
1025
+ -----------------------------------------------------------------------
1026
+ TemplateAssertionsIntegrationTest: test_template_reset_between_requests
1027
+ -----------------------------------------------------------------------
1028
+ Started GET "/template_assertions/render_with_template" for 127.0.0.1 at 2016-08-25 04:38:15 -0300
1029
+ Processing by TemplateAssertionsController#render_with_template as HTML
1030
+ Rendering test/hello_world.html.erb
1031
+ Rendered test/hello_world.html.erb (0.8ms)
1032
+ Completed 200 OK in 4ms (Views: 4.3ms)
1033
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:38:15 -0300
1034
+ Processing by TemplateAssertionsController#render_nothing as HTML
1035
+ Completed 200 OK in 0ms
1036
+ -------------------------------------------------------------------------------
1037
+ TemplateAssertionsIntegrationTest: test_cookies_do_not_reset_template_assertion
1038
+ -------------------------------------------------------------------------------
1039
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2016-08-25 04:38:15 -0300
1040
+ Processing by TemplateAssertionsController#render_with_layout as HTML
1041
+ Rendering test/hello_world.html.erb within layouts/standard
1042
+ Rendered test/hello_world.html.erb within layouts/standard (0.5ms)
1043
+ Completed 200 OK in 6ms (Views: 5.7ms)
1044
+ ---------------------------------------------------------------------------------------------
1045
+ TemplateAssertionsIntegrationTest: test_partial_reset_between_requests_when_opening_a_session
1046
+ ---------------------------------------------------------------------------------------------
1047
+ Started GET "/template_assertions/render_with_partial" for 127.0.0.1 at 2016-08-25 04:38:15 -0300
1048
+ Processing by TemplateAssertionsController#render_with_partial as HTML
1049
+ Rendered test/_partial.html.erb (0.3ms)
1050
+ Completed 200 OK in 2ms (Views: 1.7ms)
1051
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:38:15 -0300
1052
+ Processing by TemplateAssertionsController#render_nothing as HTML
1053
+ Completed 200 OK in 0ms
1054
+ --------------------------------------------------------------------------------------------
1055
+ TemplateAssertionsIntegrationTest: test_layout_reset_between_requests_when_opening_a_session
1056
+ --------------------------------------------------------------------------------------------
1057
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2016-08-25 04:38:15 -0300
1058
+ Processing by TemplateAssertionsController#render_with_layout as HTML
1059
+ Rendering test/hello_world.html.erb within layouts/standard
1060
+ Rendered test/hello_world.html.erb within layouts/standard (0.3ms)
1061
+ Completed 200 OK in 3ms (Views: 3.1ms)
1062
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:38:15 -0300
1063
+ Processing by TemplateAssertionsController#render_nothing as HTML
1064
+ Completed 200 OK in 0ms
1065
+ -------------------------------------------------------------------------------
1066
+ TemplateAssertionsIntegrationTest: test_assigns_do_not_reset_template_assertion
1067
+ -------------------------------------------------------------------------------
1068
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2016-08-25 04:38:15 -0300
1069
+ Processing by TemplateAssertionsController#render_with_layout as HTML
1070
+ Rendering test/hello_world.html.erb within layouts/standard
1071
+ Rendered test/hello_world.html.erb within layouts/standard (0.3ms)
1072
+ Completed 200 OK in 3ms (Views: 2.9ms)
1073
+ ----------------------------------------------------------------------
1074
+ TemplateAssertionsIntegrationTest: test_partial_reset_between_requests
1075
+ ----------------------------------------------------------------------
1076
+ Started GET "/template_assertions/render_with_partial" for 127.0.0.1 at 2016-08-25 04:38:15 -0300
1077
+ Processing by TemplateAssertionsController#render_with_partial as HTML
1078
+ Rendered test/_partial.html.erb (0.3ms)
1079
+ Completed 200 OK in 2ms (Views: 1.6ms)
1080
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:38:15 -0300
1081
+ Processing by TemplateAssertionsController#render_nothing as HTML
1082
+ Completed 200 OK in 0ms
1083
+ ---------------------------------------------------------------------
1084
+ TemplateAssertionsIntegrationTest: test_layout_reset_between_requests
1085
+ ---------------------------------------------------------------------
1086
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2016-08-25 04:38:15 -0300
1087
+ Processing by TemplateAssertionsController#render_with_layout as HTML
1088
+ Rendering test/hello_world.html.erb within layouts/standard
1089
+ Rendered test/hello_world.html.erb within layouts/standard (0.3ms)
1090
+ Completed 200 OK in 3ms (Views: 3.0ms)
1091
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:38:15 -0300
1092
+ Processing by TemplateAssertionsController#render_nothing as HTML
1093
+ Completed 200 OK in 0ms
1094
+ -------------------------------------------------------------------
1095
+ TemplateAssertionsIntegrationTest: test_file_reset_between_requests
1096
+ -------------------------------------------------------------------
1097
+ Started GET "/template_assertions/render_file_relative_path" for 127.0.0.1 at 2016-08-25 04:38:15 -0300
1098
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
1099
+ Rendering README.rdoc
1100
+ Rendered README.rdoc (0.3ms)
1101
+ Completed 200 OK in 5ms (Views: 5.0ms)
1102
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:38:15 -0300
1103
+ Processing by TemplateAssertionsController#render_nothing as HTML
1104
+ Completed 200 OK in 0ms
1105
+ ----------------------------------------------------------------------------------------
1106
+ RenderTemplateTest: test_raises_descriptive_error_message_when_template_was_not_rendered
1107
+ ----------------------------------------------------------------------------------------
1108
+ Rendering test/hello_world_with_partial.html.erb
1109
+ Rendered test/_partial.html.erb (0.3ms)
1110
+ Rendered test/hello_world_with_partial.html.erb (11.4ms)
1111
+ --------------------------------------------------------------------
1112
+ RenderTemplateTest: test_supports_specifying_templates_with_a_Regexp
1113
+ --------------------------------------------------------------------
1114
+ Rendering test/hello_world.html.erb
1115
+ Rendered test/hello_world.html.erb (0.3ms)
1116
+ -------------------------------------------------------------------------------------------------------------
1117
+ RenderTemplateTest: test_specifying_locals_works_when_the_partial_is_inside_a_directory_with_underline_prefix
1118
+ -------------------------------------------------------------------------------------------------------------
1119
+ Rendering test/render_partial_inside_directory.html.erb
1120
+ Rendered test/_directory/_partial_with_locales.html.erb (0.4ms)
1121
+ Rendered test/render_partial_inside_directory.html.erb (14.0ms)
1122
+ ----------------------------------------------------------------------
1123
+ RenderTemplateTest: test_supports_different_locals_on_the_same_partial
1124
+ ----------------------------------------------------------------------
1125
+ Rendering test/render_two_partials.html.erb
1126
+ Rendered test/_partial.html.erb (0.3ms)
1127
+ Rendered test/_partial.html.erb (0.3ms)
1128
+ Rendered test/render_two_partials.html.erb (25.6ms)
1129
+ -------------------------------------------------------------
1130
+ RenderTemplateTest: test_supports_specifying_locals_(failing)
1131
+ -------------------------------------------------------------
1132
+ Rendering test/calling_partial_with_layout.html.erb
1133
+ Rendered test/_partial_for_use_in_layout.html.erb (15.6ms)
1134
+ Rendered test/calling_partial_with_layout.html.erb (27.3ms)
1135
+ -------------------------------------------------------------
1136
+ RenderTemplateTest: test_supports_specifying_locals_(passing)
1137
+ -------------------------------------------------------------
1138
+ Rendering test/calling_partial_with_layout.html.erb
1139
+ Rendered test/_partial_for_use_in_layout.html.erb (0.2ms)
1140
+ Rendered test/calling_partial_with_layout.html.erb (0.4ms)
1141
+ -----------------------------------------------------
1142
+ RenderTemplateTest: test_supports_specifying_partials
1143
+ -----------------------------------------------------
1144
+ Rendering test/calling_partial_with_layout.html.erb
1145
+ Rendered test/_partial_for_use_in_layout.html.erb (0.2ms)
1146
+ Rendered test/calling_partial_with_layout.html.erb (0.3ms)
1147
+ ----------------------------------------------------------------------------------------------------------------
1148
+ RenderTemplateTest: test_specifying_locals_works_when_the_partial_is_inside_a_directory_without_underline_prefix
1149
+ ----------------------------------------------------------------------------------------------------------------
1150
+ Rendering test/render_partial_inside_directory.html.erb
1151
+ Rendered test/_directory/_partial_with_locales.html.erb (0.0ms)
1152
+ Rendered test/render_partial_inside_directory.html.erb (0.2ms)
1153
+ -----------------------------------------------------------------------
1154
+ TemplateAssertionsControllerTest: test_fails_expecting_not_known_layout
1155
+ -----------------------------------------------------------------------
1156
+ Processing by TemplateAssertionsController#render_with_layout as HTML
1157
+ Rendering test/hello_world.html.erb within layouts/standard
1158
+ Rendered test/hello_world.html.erb within layouts/standard (0.3ms)
1159
+ Completed 200 OK in 4ms (Views: 3.7ms)
1160
+ -----------------------------------------------------------------
1161
+ TemplateAssertionsControllerTest: test_passes_with_correct_string
1162
+ -----------------------------------------------------------------
1163
+ Processing by TemplateAssertionsController#render_with_template as HTML
1164
+ Rendering test/hello_world.html.erb
1165
+ Rendered test/hello_world.html.erb (0.1ms)
1166
+ Completed 200 OK in 2ms (Views: 2.3ms)
1167
+ -----------------------------------------------------------------------
1168
+ TemplateAssertionsControllerTest: test_fails_with_repeated_name_in_path
1169
+ -----------------------------------------------------------------------
1170
+ Processing by TemplateAssertionsController#render_with_template_repeating_in_path as HTML
1171
+ Rendering test/hello/hello.html.erb
1172
+ Rendered test/hello/hello.html.erb (0.3ms)
1173
+ Completed 200 OK in 2ms (Views: 1.7ms)
1174
+ ------------------------------------------------------------------
1175
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_symbol
1176
+ ------------------------------------------------------------------
1177
+ Processing by TemplateAssertionsController#render_with_template as HTML
1178
+ Rendering test/hello_world.html.erb
1179
+ Rendered test/hello_world.html.erb (0.0ms)
1180
+ Completed 200 OK in 0ms (Views: 0.3ms)
1181
+ ----------------------------------------------------------------------------
1182
+ TemplateAssertionsControllerTest: test_with_nil_fails_when_template_rendered
1183
+ ----------------------------------------------------------------------------
1184
+ Processing by TemplateAssertionsController#render_with_template as HTML
1185
+ Rendering test/hello_world.html.erb
1186
+ Rendered test/hello_world.html.erb (0.0ms)
1187
+ Completed 200 OK in 0ms (Views: 0.3ms)
1188
+ -----------------------------------------------------------------------------------
1189
+ TemplateAssertionsControllerTest: test_with_invalid_hash_keys_raises_argument_error
1190
+ -----------------------------------------------------------------------------------
1191
+ ------------------------------------------------------------------
1192
+ TemplateAssertionsControllerTest: test_passed_with_no_layout_false
1193
+ ------------------------------------------------------------------
1194
+ Processing by TemplateAssertionsController#render_with_template as HTML
1195
+ Rendering test/hello_world.html.erb
1196
+ Rendered test/hello_world.html.erb (0.0ms)
1197
+ Completed 200 OK in 0ms (Views: 0.3ms)
1198
+ -----------------------------------------------------------------------------
1199
+ TemplateAssertionsControllerTest: test_assert_template_reset_between_requests
1200
+ -----------------------------------------------------------------------------
1201
+ Processing by TemplateAssertionsController#render_with_template as HTML
1202
+ Rendering test/hello_world.html.erb
1203
+ Rendered test/hello_world.html.erb (0.1ms)
1204
+ Completed 200 OK in 1ms (Views: 0.5ms)
1205
+ Processing by TemplateAssertionsController#render_nothing as HTML
1206
+ Completed 200 OK in 0ms (Views: 0.5ms)
1207
+ Processing by TemplateAssertionsController#render_with_partial as HTML
1208
+ Rendered test/_partial.html.erb (0.3ms)
1209
+ Completed 200 OK in 2ms (Views: 1.7ms)
1210
+ Processing by TemplateAssertionsController#render_nothing as HTML
1211
+ Completed 200 OK in 0ms (Views: 1.7ms)
1212
+ Processing by TemplateAssertionsController#render_with_layout as HTML
1213
+ Rendering test/hello_world.html.erb within layouts/standard
1214
+ Rendered test/hello_world.html.erb within layouts/standard (0.1ms)
1215
+ Completed 200 OK in 1ms (Views: 0.5ms)
1216
+ Processing by TemplateAssertionsController#render_nothing as HTML
1217
+ Completed 200 OK in 0ms (Views: 0.5ms)
1218
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
1219
+ Rendering README.rdoc
1220
+ Rendered README.rdoc (0.3ms)
1221
+ Completed 200 OK in 3ms (Views: 3.4ms)
1222
+ Processing by TemplateAssertionsController#render_nothing as HTML
1223
+ Completed 200 OK in 0ms (Views: 3.4ms)
1224
+ --------------------------------------------------------
1225
+ TemplateAssertionsControllerTest: test_with_file_failure
1226
+ --------------------------------------------------------
1227
+ Processing by TemplateAssertionsController#render_file_absolute_path as HTML
1228
+ Rendering README.rdoc
1229
+ Rendered README.rdoc (0.3ms)
1230
+ Completed 200 OK in 5ms (Views: 4.6ms)
1231
+ Processing by TemplateAssertionsController#render_file_absolute_path as HTML
1232
+ Rendering README.rdoc
1233
+ Rendered README.rdoc (0.0ms)
1234
+ Completed 200 OK in 1ms (Views: 0.4ms)
1235
+ -------------------------------------------------------------------------------
1236
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_symbol_that_matches
1237
+ -------------------------------------------------------------------------------
1238
+ Processing by TemplateAssertionsController#render_with_template as HTML
1239
+ Rendering test/hello_world.html.erb
1240
+ Rendered test/hello_world.html.erb (0.1ms)
1241
+ Completed 200 OK in 0ms (Views: 0.4ms)
1242
+ ----------------------------------------------------------------------------------------
1243
+ TemplateAssertionsControllerTest: test_locals_option_to_assert_template_is_not_supported
1244
+ ----------------------------------------------------------------------------------------
1245
+ Processing by TemplateAssertionsController#render_nothing as HTML
1246
+ Completed 200 OK in 0ms
1247
+ ----------------------------------------------------------------
1248
+ TemplateAssertionsControllerTest: test_fails_expecting_no_layout
1249
+ ----------------------------------------------------------------
1250
+ Processing by TemplateAssertionsController#render_with_layout as HTML
1251
+ Rendering test/hello_world.html.erb within layouts/standard
1252
+ Rendered test/hello_world.html.erb within layouts/standard (0.1ms)
1253
+ Completed 200 OK in 1ms (Views: 0.7ms)
1254
+ -----------------------------------------------------------------
1255
+ TemplateAssertionsControllerTest: test_passes_with_correct_symbol
1256
+ -----------------------------------------------------------------
1257
+ Processing by TemplateAssertionsController#render_with_template as HTML
1258
+ Rendering test/hello_world.html.erb
1259
+ Rendered test/hello_world.html.erb (0.1ms)
1260
+ Completed 200 OK in 0ms (Views: 0.4ms)
1261
+ --------------------------------------------------------------------------------
1262
+ TemplateAssertionsControllerTest: test_with_nil_passes_when_no_template_rendered
1263
+ --------------------------------------------------------------------------------
1264
+ Processing by TemplateAssertionsController#render_nothing as HTML
1265
+ Completed 200 OK in 0ms
1266
+ -----------------------------------------------------------------
1267
+ TemplateAssertionsControllerTest: test_passes_with_correct_layout
1268
+ -----------------------------------------------------------------
1269
+ Processing by TemplateAssertionsController#render_with_layout as HTML
1270
+ Rendering test/hello_world.html.erb within layouts/standard
1271
+ Rendered test/hello_world.html.erb within layouts/standard (0.1ms)
1272
+ Completed 200 OK in 1ms (Views: 0.6ms)
1273
+ -------------------------------------------------------------------------------
1274
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_string_that_matches
1275
+ -------------------------------------------------------------------------------
1276
+ Processing by TemplateAssertionsController#render_with_template as HTML
1277
+ Rendering test/hello_world.html.erb
1278
+ Rendered test/hello_world.html.erb (0.1ms)
1279
+ Completed 200 OK in 1ms (Views: 0.7ms)
1280
+ -------------------------------------------------------------------------------------
1281
+ TemplateAssertionsControllerTest: test_with_empty_string_fails_when_template_rendered
1282
+ -------------------------------------------------------------------------------------
1283
+ Processing by TemplateAssertionsController#render_with_template as HTML
1284
+ Rendering test/hello_world.html.erb
1285
+ Rendered test/hello_world.html.erb (0.1ms)
1286
+ Completed 200 OK in 1ms (Views: 0.5ms)
1287
+ ----------------------------------------------------------------------
1288
+ TemplateAssertionsControllerTest: test_file_with_absolute_path_success
1289
+ ----------------------------------------------------------------------
1290
+ Processing by TemplateAssertionsController#render_file_absolute_path as HTML
1291
+ Rendering README.rdoc
1292
+ Rendered README.rdoc (0.0ms)
1293
+ Completed 200 OK in 0ms (Views: 0.4ms)
1294
+ ----------------------------------------------------------------------------------------
1295
+ TemplateAssertionsControllerTest: test_with_empty_string_fails_when_no_template_rendered
1296
+ ----------------------------------------------------------------------------------------
1297
+ Processing by TemplateAssertionsController#render_nothing as HTML
1298
+ Completed 200 OK in 0ms
1299
+ ------------------------------------------------------------------
1300
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_string
1301
+ ------------------------------------------------------------------
1302
+ Processing by TemplateAssertionsController#render_with_template as HTML
1303
+ Rendering test/hello_world.html.erb
1304
+ Rendered test/hello_world.html.erb (0.1ms)
1305
+ Completed 200 OK in 1ms (Views: 0.5ms)
1306
+ ------------------------------------------------------------------------
1307
+ TemplateAssertionsControllerTest: test_passes_with_correct_layout_symbol
1308
+ ------------------------------------------------------------------------
1309
+ Processing by TemplateAssertionsController#render_with_layout as HTML
1310
+ Rendering test/hello_world.html.erb within layouts/standard
1311
+ Rendered test/hello_world.html.erb within layouts/standard (0.1ms)
1312
+ Completed 200 OK in 1ms (Views: 0.6ms)
1313
+ ----------------------------------------------------------------------
1314
+ TemplateAssertionsControllerTest: test_file_with_relative_path_success
1315
+ ----------------------------------------------------------------------
1316
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
1317
+ Rendering README.rdoc
1318
+ Rendered README.rdoc (0.1ms)
1319
+ Completed 200 OK in 1ms (Views: 0.5ms)
1320
+ --------------------------------------------------------------
1321
+ TemplateAssertionsControllerTest: test_fails_with_wrong_layout
1322
+ --------------------------------------------------------------
1323
+ Processing by TemplateAssertionsController#render_with_layout as HTML
1324
+ Rendering test/hello_world.html.erb within layouts/standard
1325
+ Rendered test/hello_world.html.erb within layouts/standard (0.1ms)
1326
+ Completed 200 OK in 1ms (Views: 0.5ms)
1327
+ ---------------------------------------------------------------------
1328
+ TemplateAssertionsControllerTest: test_passes_with_layout_and_partial
1329
+ ---------------------------------------------------------------------
1330
+ Processing by TemplateAssertionsController#render_with_layout_and_partial as HTML
1331
+ Rendering test/hello_world_with_partial.html.erb within layouts/standard
1332
+ Rendered test/_partial.html.erb (0.0ms)
1333
+ Rendered test/hello_world_with_partial.html.erb within layouts/standard (0.8ms)
1334
+ Completed 200 OK in 3ms (Views: 2.4ms)
1335
+ ------------------------------------------------------------
1336
+ TemplateAssertionsControllerTest: test_passed_with_no_layout
1337
+ ------------------------------------------------------------
1338
+ Processing by TemplateAssertionsController#render_with_template as HTML
1339
+ Rendering test/hello_world.html.erb
1340
+ Rendered test/hello_world.html.erb (0.1ms)
1341
+ Completed 200 OK in 1ms (Views: 0.5ms)
1342
+ ---------------------------------------------------
1343
+ TemplateAssertionsControllerTest: test_with_partial
1344
+ ---------------------------------------------------
1345
+ Processing by TemplateAssertionsController#render_with_partial as HTML
1346
+ Rendered test/_partial.html.erb (0.1ms)
1347
+ Completed 200 OK in 0ms (Views: 0.4ms)
1348
+ ----------------------------------------------------------------------------------------
1349
+ TemplateAssertionsControllerTest: test_passes_with_correct_layout_without_layouts_prefix
1350
+ ----------------------------------------------------------------------------------------
1351
+ Processing by TemplateAssertionsController#render_with_layout as HTML
1352
+ Rendering test/hello_world.html.erb within layouts/standard
1353
+ Rendered test/hello_world.html.erb within layouts/standard (0.1ms)
1354
+ Completed 200 OK in 1ms (Views: 0.6ms)
1355
+ ----------------------------------------------------------------------
1356
+ RenderTemplateTest: test_supports_different_locals_on_the_same_partial
1357
+ ----------------------------------------------------------------------
1358
+ Rendering test/render_two_partials.html.erb
1359
+ Rendered test/_partial.html.erb (0.4ms)
1360
+ Rendered test/_partial.html.erb (0.7ms)
1361
+ Rendered test/render_two_partials.html.erb (27.0ms)
1362
+ -------------------------------------------------------------------------------------------------------------
1363
+ RenderTemplateTest: test_specifying_locals_works_when_the_partial_is_inside_a_directory_with_underline_prefix
1364
+ -------------------------------------------------------------------------------------------------------------
1365
+ Rendering test/render_partial_inside_directory.html.erb
1366
+ Rendered test/_directory/_partial_with_locales.html.erb (0.5ms)
1367
+ Rendered test/render_partial_inside_directory.html.erb (15.9ms)
1368
+ -------------------------------------------------------------
1369
+ RenderTemplateTest: test_supports_specifying_locals_(passing)
1370
+ -------------------------------------------------------------
1371
+ Rendering test/calling_partial_with_layout.html.erb
1372
+ Rendered test/_partial_for_use_in_layout.html.erb (15.4ms)
1373
+ Rendered test/calling_partial_with_layout.html.erb (28.9ms)
1374
+ --------------------------------------------------------------------
1375
+ RenderTemplateTest: test_supports_specifying_templates_with_a_Regexp
1376
+ --------------------------------------------------------------------
1377
+ Rendering test/hello_world.html.erb
1378
+ Rendered test/hello_world.html.erb (0.4ms)
1379
+ ----------------------------------------------------------------------------------------------------------------
1380
+ RenderTemplateTest: test_specifying_locals_works_when_the_partial_is_inside_a_directory_without_underline_prefix
1381
+ ----------------------------------------------------------------------------------------------------------------
1382
+ Rendering test/render_partial_inside_directory.html.erb
1383
+ Rendered test/_directory/_partial_with_locales.html.erb (0.1ms)
1384
+ Rendered test/render_partial_inside_directory.html.erb (0.3ms)
1385
+ -------------------------------------------------------------
1386
+ RenderTemplateTest: test_supports_specifying_locals_(failing)
1387
+ -------------------------------------------------------------
1388
+ Rendering test/calling_partial_with_layout.html.erb
1389
+ Rendered test/_partial_for_use_in_layout.html.erb (0.1ms)
1390
+ Rendered test/calling_partial_with_layout.html.erb (0.3ms)
1391
+ ----------------------------------------------------------------------------------------
1392
+ RenderTemplateTest: test_raises_descriptive_error_message_when_template_was_not_rendered
1393
+ ----------------------------------------------------------------------------------------
1394
+ Rendering test/hello_world_with_partial.html.erb
1395
+ Rendered test/_partial.html.erb (0.3ms)
1396
+ Rendered test/hello_world_with_partial.html.erb (11.6ms)
1397
+ -----------------------------------------------------
1398
+ RenderTemplateTest: test_supports_specifying_partials
1399
+ -----------------------------------------------------
1400
+ Rendering test/calling_partial_with_layout.html.erb
1401
+ Rendered test/_partial_for_use_in_layout.html.erb (0.1ms)
1402
+ Rendered test/calling_partial_with_layout.html.erb (0.3ms)
1403
+ -------------------------------------------------------------------
1404
+ TemplateAssertionsIntegrationTest: test_file_reset_between_requests
1405
+ -------------------------------------------------------------------
1406
+ Started GET "/template_assertions/render_file_relative_path" for 127.0.0.1 at 2016-08-25 04:38:43 -0300
1407
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
1408
+ Rendering README.rdoc
1409
+ Rendered README.rdoc (0.3ms)
1410
+ Completed 200 OK in 5ms (Views: 5.2ms)
1411
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:38:43 -0300
1412
+ Processing by TemplateAssertionsController#render_nothing as HTML
1413
+ Completed 200 OK in 0ms
1414
+ -----------------------------------------------------------------------
1415
+ TemplateAssertionsIntegrationTest: test_template_reset_between_requests
1416
+ -----------------------------------------------------------------------
1417
+ Started GET "/template_assertions/render_with_template" for 127.0.0.1 at 2016-08-25 04:38:43 -0300
1418
+ Processing by TemplateAssertionsController#render_with_template as HTML
1419
+ Rendering test/hello_world.html.erb
1420
+ Rendered test/hello_world.html.erb (0.3ms)
1421
+ Completed 200 OK in 4ms (Views: 3.9ms)
1422
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:38:43 -0300
1423
+ Processing by TemplateAssertionsController#render_nothing as HTML
1424
+ Completed 200 OK in 0ms
1425
+ ---------------------------------------------------------------------------------------------
1426
+ TemplateAssertionsIntegrationTest: test_partial_reset_between_requests_when_opening_a_session
1427
+ ---------------------------------------------------------------------------------------------
1428
+ Started GET "/template_assertions/render_with_partial" for 127.0.0.1 at 2016-08-25 04:38:43 -0300
1429
+ Processing by TemplateAssertionsController#render_with_partial as HTML
1430
+ Rendered test/_partial.html.erb (0.3ms)
1431
+ Completed 200 OK in 2ms (Views: 2.1ms)
1432
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:38:43 -0300
1433
+ Processing by TemplateAssertionsController#render_nothing as HTML
1434
+ Completed 200 OK in 0ms
1435
+ -------------------------------------------------------------------------------
1436
+ TemplateAssertionsIntegrationTest: test_cookies_do_not_reset_template_assertion
1437
+ -------------------------------------------------------------------------------
1438
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2016-08-25 04:38:43 -0300
1439
+ Processing by TemplateAssertionsController#render_with_layout as HTML
1440
+ Rendering test/hello_world.html.erb within layouts/standard
1441
+ Rendered test/hello_world.html.erb within layouts/standard (0.3ms)
1442
+ Completed 200 OK in 3ms (Views: 3.0ms)
1443
+ --------------------------------------------------------------------------------------------
1444
+ TemplateAssertionsIntegrationTest: test_layout_reset_between_requests_when_opening_a_session
1445
+ --------------------------------------------------------------------------------------------
1446
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2016-08-25 04:38:43 -0300
1447
+ Processing by TemplateAssertionsController#render_with_layout as HTML
1448
+ Rendering test/hello_world.html.erb within layouts/standard
1449
+ Rendered test/hello_world.html.erb within layouts/standard (0.3ms)
1450
+ Completed 200 OK in 3ms (Views: 2.8ms)
1451
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:38:43 -0300
1452
+ Processing by TemplateAssertionsController#render_nothing as HTML
1453
+ Completed 200 OK in 0ms
1454
+ ---------------------------------------------------------------------
1455
+ TemplateAssertionsIntegrationTest: test_layout_reset_between_requests
1456
+ ---------------------------------------------------------------------
1457
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2016-08-25 04:38:43 -0300
1458
+ Processing by TemplateAssertionsController#render_with_layout as HTML
1459
+ Rendering test/hello_world.html.erb within layouts/standard
1460
+ Rendered test/hello_world.html.erb within layouts/standard (0.3ms)
1461
+ Completed 200 OK in 3ms (Views: 2.9ms)
1462
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:38:43 -0300
1463
+ Processing by TemplateAssertionsController#render_nothing as HTML
1464
+ Completed 200 OK in 0ms
1465
+ ----------------------------------------------------------------------------------------------
1466
+ TemplateAssertionsIntegrationTest: test_template_reset_between_requests_when_opening_a_session
1467
+ ----------------------------------------------------------------------------------------------
1468
+ Started GET "/template_assertions/render_with_template" for 127.0.0.1 at 2016-08-25 04:38:43 -0300
1469
+ Processing by TemplateAssertionsController#render_with_template as HTML
1470
+ Rendering test/hello_world.html.erb
1471
+ Rendered test/hello_world.html.erb (0.3ms)
1472
+ Completed 200 OK in 4ms (Views: 4.1ms)
1473
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:38:43 -0300
1474
+ Processing by TemplateAssertionsController#render_nothing as HTML
1475
+ Completed 200 OK in 0ms
1476
+ ----------------------------------------------------------------------
1477
+ TemplateAssertionsIntegrationTest: test_partial_reset_between_requests
1478
+ ----------------------------------------------------------------------
1479
+ Started GET "/template_assertions/render_with_partial" for 127.0.0.1 at 2016-08-25 04:38:43 -0300
1480
+ Processing by TemplateAssertionsController#render_with_partial as HTML
1481
+ Rendered test/_partial.html.erb (0.3ms)
1482
+ Completed 200 OK in 2ms (Views: 1.6ms)
1483
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:38:43 -0300
1484
+ Processing by TemplateAssertionsController#render_nothing as HTML
1485
+ Completed 200 OK in 0ms
1486
+ ------------------------------------------------------------------------------------------
1487
+ TemplateAssertionsIntegrationTest: test_file_reset_between_requests_when_opening_a_session
1488
+ ------------------------------------------------------------------------------------------
1489
+ Started GET "/template_assertions/render_file_relative_path" for 127.0.0.1 at 2016-08-25 04:38:43 -0300
1490
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
1491
+ Rendering README.rdoc
1492
+ Rendered README.rdoc (0.4ms)
1493
+ Completed 200 OK in 7ms (Views: 6.5ms)
1494
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:38:43 -0300
1495
+ Processing by TemplateAssertionsController#render_nothing as HTML
1496
+ Completed 200 OK in 0ms
1497
+ -------------------------------------------------------------------------------
1498
+ TemplateAssertionsIntegrationTest: test_assigns_do_not_reset_template_assertion
1499
+ -------------------------------------------------------------------------------
1500
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2016-08-25 04:38:43 -0300
1501
+ Processing by TemplateAssertionsController#render_with_layout as HTML
1502
+ Rendering test/hello_world.html.erb within layouts/standard
1503
+ Rendered test/hello_world.html.erb within layouts/standard (0.3ms)
1504
+ Completed 200 OK in 3ms (Views: 3.3ms)
1505
+ --------------------------------------------------------------------------------
1506
+ TemplateAssertionsControllerTest: test_with_nil_passes_when_no_template_rendered
1507
+ --------------------------------------------------------------------------------
1508
+ Processing by TemplateAssertionsController#render_nothing as HTML
1509
+ Completed 200 OK in 0ms
1510
+ ----------------------------------------------------------------------------------------
1511
+ TemplateAssertionsControllerTest: test_locals_option_to_assert_template_is_not_supported
1512
+ ----------------------------------------------------------------------------------------
1513
+ Processing by TemplateAssertionsController#render_nothing as HTML
1514
+ Completed 200 OK in 0ms
1515
+ -----------------------------------------------------------------
1516
+ TemplateAssertionsControllerTest: test_passes_with_correct_symbol
1517
+ -----------------------------------------------------------------
1518
+ Processing by TemplateAssertionsController#render_with_template as HTML
1519
+ Rendering test/hello_world.html.erb
1520
+ Rendered test/hello_world.html.erb (0.1ms)
1521
+ Completed 200 OK in 3ms (Views: 2.8ms)
1522
+ -------------------------------------------------------------------------------------
1523
+ TemplateAssertionsControllerTest: test_with_empty_string_fails_when_template_rendered
1524
+ -------------------------------------------------------------------------------------
1525
+ Processing by TemplateAssertionsController#render_with_template as HTML
1526
+ Rendering test/hello_world.html.erb
1527
+ Rendered test/hello_world.html.erb (0.0ms)
1528
+ Completed 200 OK in 0ms (Views: 0.4ms)
1529
+ --------------------------------------------------------------
1530
+ TemplateAssertionsControllerTest: test_fails_with_wrong_layout
1531
+ --------------------------------------------------------------
1532
+ Processing by TemplateAssertionsController#render_with_layout as HTML
1533
+ Rendering test/hello_world.html.erb within layouts/standard
1534
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
1535
+ Completed 200 OK in 1ms (Views: 0.5ms)
1536
+ ---------------------------------------------------
1537
+ TemplateAssertionsControllerTest: test_with_partial
1538
+ ---------------------------------------------------
1539
+ Processing by TemplateAssertionsController#render_with_partial as HTML
1540
+ Rendered test/_partial.html.erb (0.3ms)
1541
+ Completed 200 OK in 2ms (Views: 1.8ms)
1542
+ ----------------------------------------------------------------------------------------
1543
+ TemplateAssertionsControllerTest: test_passes_with_correct_layout_without_layouts_prefix
1544
+ ----------------------------------------------------------------------------------------
1545
+ Processing by TemplateAssertionsController#render_with_layout as HTML
1546
+ Rendering test/hello_world.html.erb within layouts/standard
1547
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
1548
+ Completed 200 OK in 0ms (Views: 0.4ms)
1549
+ -----------------------------------------------------------------------
1550
+ TemplateAssertionsControllerTest: test_fails_expecting_not_known_layout
1551
+ -----------------------------------------------------------------------
1552
+ Processing by TemplateAssertionsController#render_with_layout as HTML
1553
+ Rendering test/hello_world.html.erb within layouts/standard
1554
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
1555
+ Completed 200 OK in 0ms (Views: 0.4ms)
1556
+ -----------------------------------------------------------------------
1557
+ TemplateAssertionsControllerTest: test_fails_with_repeated_name_in_path
1558
+ -----------------------------------------------------------------------
1559
+ Processing by TemplateAssertionsController#render_with_template_repeating_in_path as HTML
1560
+ Rendering test/hello/hello.html.erb
1561
+ Rendered test/hello/hello.html.erb (0.3ms)
1562
+ Completed 200 OK in 2ms (Views: 1.7ms)
1563
+ ---------------------------------------------------------------------
1564
+ TemplateAssertionsControllerTest: test_passes_with_layout_and_partial
1565
+ ---------------------------------------------------------------------
1566
+ Processing by TemplateAssertionsController#render_with_layout_and_partial as HTML
1567
+ Rendering test/hello_world_with_partial.html.erb within layouts/standard
1568
+ Rendered test/_partial.html.erb (0.0ms)
1569
+ Rendered test/hello_world_with_partial.html.erb within layouts/standard (0.4ms)
1570
+ Completed 200 OK in 2ms (Views: 1.8ms)
1571
+ --------------------------------------------------------
1572
+ TemplateAssertionsControllerTest: test_with_file_failure
1573
+ --------------------------------------------------------
1574
+ Processing by TemplateAssertionsController#render_file_absolute_path as HTML
1575
+ Rendering README.rdoc
1576
+ Rendered README.rdoc (0.3ms)
1577
+ Completed 200 OK in 4ms (Views: 4.1ms)
1578
+ Processing by TemplateAssertionsController#render_file_absolute_path as HTML
1579
+ Rendering README.rdoc
1580
+ Rendered README.rdoc (0.0ms)
1581
+ Completed 200 OK in 0ms (Views: 0.3ms)
1582
+ -----------------------------------------------------------------
1583
+ TemplateAssertionsControllerTest: test_passes_with_correct_string
1584
+ -----------------------------------------------------------------
1585
+ Processing by TemplateAssertionsController#render_with_template as HTML
1586
+ Rendering test/hello_world.html.erb
1587
+ Rendered test/hello_world.html.erb (0.0ms)
1588
+ Completed 200 OK in 0ms (Views: 0.4ms)
1589
+ ------------------------------------------------------------------
1590
+ TemplateAssertionsControllerTest: test_passed_with_no_layout_false
1591
+ ------------------------------------------------------------------
1592
+ Processing by TemplateAssertionsController#render_with_template as HTML
1593
+ Rendering test/hello_world.html.erb
1594
+ Rendered test/hello_world.html.erb (0.0ms)
1595
+ Completed 200 OK in 0ms (Views: 0.3ms)
1596
+ ----------------------------------------------------------------------------------------
1597
+ TemplateAssertionsControllerTest: test_with_empty_string_fails_when_no_template_rendered
1598
+ ----------------------------------------------------------------------------------------
1599
+ Processing by TemplateAssertionsController#render_nothing as HTML
1600
+ Completed 200 OK in 0ms
1601
+ ------------------------------------------------------------
1602
+ TemplateAssertionsControllerTest: test_passed_with_no_layout
1603
+ ------------------------------------------------------------
1604
+ Processing by TemplateAssertionsController#render_with_template as HTML
1605
+ Rendering test/hello_world.html.erb
1606
+ Rendered test/hello_world.html.erb (0.0ms)
1607
+ Completed 200 OK in 0ms (Views: 0.4ms)
1608
+ -----------------------------------------------------------------------------
1609
+ TemplateAssertionsControllerTest: test_assert_template_reset_between_requests
1610
+ -----------------------------------------------------------------------------
1611
+ Processing by TemplateAssertionsController#render_with_template as HTML
1612
+ Rendering test/hello_world.html.erb
1613
+ Rendered test/hello_world.html.erb (0.0ms)
1614
+ Completed 200 OK in 1ms (Views: 0.5ms)
1615
+ Processing by TemplateAssertionsController#render_nothing as HTML
1616
+ Completed 200 OK in 0ms (Views: 0.5ms)
1617
+ Processing by TemplateAssertionsController#render_with_partial as HTML
1618
+ Rendered test/_partial.html.erb (0.0ms)
1619
+ Completed 200 OK in 0ms (Views: 0.2ms)
1620
+ Processing by TemplateAssertionsController#render_nothing as HTML
1621
+ Completed 200 OK in 0ms (Views: 0.2ms)
1622
+ Processing by TemplateAssertionsController#render_with_layout as HTML
1623
+ Rendering test/hello_world.html.erb within layouts/standard
1624
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
1625
+ Completed 200 OK in 0ms (Views: 0.3ms)
1626
+ Processing by TemplateAssertionsController#render_nothing as HTML
1627
+ Completed 200 OK in 0ms (Views: 0.3ms)
1628
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
1629
+ Rendering README.rdoc
1630
+ Rendered README.rdoc (0.4ms)
1631
+ Completed 200 OK in 4ms (Views: 4.1ms)
1632
+ Processing by TemplateAssertionsController#render_nothing as HTML
1633
+ Completed 200 OK in 0ms (Views: 4.1ms)
1634
+ -------------------------------------------------------------------------------
1635
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_string_that_matches
1636
+ -------------------------------------------------------------------------------
1637
+ Processing by TemplateAssertionsController#render_with_template as HTML
1638
+ Rendering test/hello_world.html.erb
1639
+ Rendered test/hello_world.html.erb (0.1ms)
1640
+ Completed 200 OK in 1ms (Views: 0.5ms)
1641
+ ----------------------------------------------------------------------------
1642
+ TemplateAssertionsControllerTest: test_with_nil_fails_when_template_rendered
1643
+ ----------------------------------------------------------------------------
1644
+ Processing by TemplateAssertionsController#render_with_template as HTML
1645
+ Rendering test/hello_world.html.erb
1646
+ Rendered test/hello_world.html.erb (0.0ms)
1647
+ Completed 200 OK in 0ms (Views: 0.4ms)
1648
+ -------------------------------------------------------------------------------
1649
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_symbol_that_matches
1650
+ -------------------------------------------------------------------------------
1651
+ Processing by TemplateAssertionsController#render_with_template as HTML
1652
+ Rendering test/hello_world.html.erb
1653
+ Rendered test/hello_world.html.erb (0.0ms)
1654
+ Completed 200 OK in 0ms (Views: 0.4ms)
1655
+ ------------------------------------------------------------------
1656
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_string
1657
+ ------------------------------------------------------------------
1658
+ Processing by TemplateAssertionsController#render_with_template as HTML
1659
+ Rendering test/hello_world.html.erb
1660
+ Rendered test/hello_world.html.erb (0.1ms)
1661
+ Completed 200 OK in 0ms (Views: 0.3ms)
1662
+ ------------------------------------------------------------------
1663
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_symbol
1664
+ ------------------------------------------------------------------
1665
+ Processing by TemplateAssertionsController#render_with_template as HTML
1666
+ Rendering test/hello_world.html.erb
1667
+ Rendered test/hello_world.html.erb (0.1ms)
1668
+ Completed 200 OK in 1ms (Views: 0.7ms)
1669
+ -----------------------------------------------------------------
1670
+ TemplateAssertionsControllerTest: test_passes_with_correct_layout
1671
+ -----------------------------------------------------------------
1672
+ Processing by TemplateAssertionsController#render_with_layout as HTML
1673
+ Rendering test/hello_world.html.erb within layouts/standard
1674
+ Rendered test/hello_world.html.erb within layouts/standard (0.1ms)
1675
+ Completed 200 OK in 1ms (Views: 0.5ms)
1676
+ -----------------------------------------------------------------------------------
1677
+ TemplateAssertionsControllerTest: test_with_invalid_hash_keys_raises_argument_error
1678
+ -----------------------------------------------------------------------------------
1679
+ ------------------------------------------------------------------------
1680
+ TemplateAssertionsControllerTest: test_passes_with_correct_layout_symbol
1681
+ ------------------------------------------------------------------------
1682
+ Processing by TemplateAssertionsController#render_with_layout as HTML
1683
+ Rendering test/hello_world.html.erb within layouts/standard
1684
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
1685
+ Completed 200 OK in 0ms (Views: 0.4ms)
1686
+ ----------------------------------------------------------------------
1687
+ TemplateAssertionsControllerTest: test_file_with_absolute_path_success
1688
+ ----------------------------------------------------------------------
1689
+ Processing by TemplateAssertionsController#render_file_absolute_path as HTML
1690
+ Rendering README.rdoc
1691
+ Rendered README.rdoc (0.0ms)
1692
+ Completed 200 OK in 0ms (Views: 0.4ms)
1693
+ ----------------------------------------------------------------------
1694
+ TemplateAssertionsControllerTest: test_file_with_relative_path_success
1695
+ ----------------------------------------------------------------------
1696
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
1697
+ Rendering README.rdoc
1698
+ Rendered README.rdoc (0.0ms)
1699
+ Completed 200 OK in 0ms (Views: 0.4ms)
1700
+ ----------------------------------------------------------------
1701
+ TemplateAssertionsControllerTest: test_fails_expecting_no_layout
1702
+ ----------------------------------------------------------------
1703
+ Processing by TemplateAssertionsController#render_with_layout as HTML
1704
+ Rendering test/hello_world.html.erb within layouts/standard
1705
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
1706
+ Completed 200 OK in 1ms (Views: 0.5ms)
1707
+ -----------------------------------
1708
+ AssignsControllerTest: test_assigns
1709
+ -----------------------------------
1710
+ Processing by AssignsController#test_assigns as HTML
1711
+ Completed 200 OK in 0ms
1712
+ ----------------------------------------
1713
+ AssignsControllerTest: test_view_assigns
1714
+ ----------------------------------------
1715
+ Processing by ViewAssignsController#test_assigns as HTML
1716
+ Completed 200 OK in 0ms
1717
+ ----------------------------------------------------------------------
1718
+ TemplateAssertionsControllerTest: test_file_with_absolute_path_success
1719
+ ----------------------------------------------------------------------
1720
+ Processing by TemplateAssertionsController#render_file_absolute_path as HTML
1721
+ Rendering README.rdoc
1722
+ Rendered README.rdoc (0.3ms)
1723
+ Completed 200 OK in 10ms (Views: 9.6ms)
1724
+ --------------------------------------------------------------------------------
1725
+ TemplateAssertionsControllerTest: test_with_nil_passes_when_no_template_rendered
1726
+ --------------------------------------------------------------------------------
1727
+ Processing by TemplateAssertionsController#render_nothing as HTML
1728
+ Completed 200 OK in 0ms
1729
+ ------------------------------------------------------------------------
1730
+ TemplateAssertionsControllerTest: test_passes_with_correct_layout_symbol
1731
+ ------------------------------------------------------------------------
1732
+ Processing by TemplateAssertionsController#render_with_layout as HTML
1733
+ Rendering test/hello_world.html.erb within layouts/standard
1734
+ Rendered test/hello_world.html.erb within layouts/standard (1.6ms)
1735
+ Completed 200 OK in 6ms (Views: 6.0ms)
1736
+ --------------------------------------------------------------
1737
+ TemplateAssertionsControllerTest: test_fails_with_wrong_layout
1738
+ --------------------------------------------------------------
1739
+ Processing by TemplateAssertionsController#render_with_layout as HTML
1740
+ Rendering test/hello_world.html.erb within layouts/standard
1741
+ Rendered test/hello_world.html.erb within layouts/standard (0.2ms)
1742
+ Completed 200 OK in 1ms (Views: 0.6ms)
1743
+ ----------------------------------------------------------------------------
1744
+ TemplateAssertionsControllerTest: test_with_nil_fails_when_template_rendered
1745
+ ----------------------------------------------------------------------------
1746
+ Processing by TemplateAssertionsController#render_with_template as HTML
1747
+ Rendering test/hello_world.html.erb
1748
+ Rendered test/hello_world.html.erb (0.0ms)
1749
+ Completed 200 OK in 0ms (Views: 0.4ms)
1750
+ -----------------------------------------------------------------------
1751
+ TemplateAssertionsControllerTest: test_fails_with_repeated_name_in_path
1752
+ -----------------------------------------------------------------------
1753
+ Processing by TemplateAssertionsController#render_with_template_repeating_in_path as HTML
1754
+ Rendering test/hello/hello.html.erb
1755
+ Rendered test/hello/hello.html.erb (0.3ms)
1756
+ Completed 200 OK in 2ms (Views: 2.4ms)
1757
+ ----------------------------------------------------------------------
1758
+ TemplateAssertionsControllerTest: test_file_with_relative_path_success
1759
+ ----------------------------------------------------------------------
1760
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
1761
+ Rendering README.rdoc
1762
+ Rendered README.rdoc (0.4ms)
1763
+ Completed 200 OK in 3ms (Views: 3.4ms)
1764
+ -----------------------------------------------------------------------------
1765
+ TemplateAssertionsControllerTest: test_assert_template_reset_between_requests
1766
+ -----------------------------------------------------------------------------
1767
+ Processing by TemplateAssertionsController#render_with_template as HTML
1768
+ Rendering test/hello_world.html.erb
1769
+ Rendered test/hello_world.html.erb (0.1ms)
1770
+ Completed 200 OK in 1ms (Views: 0.5ms)
1771
+ Processing by TemplateAssertionsController#render_nothing as HTML
1772
+ Completed 200 OK in 0ms (Views: 0.5ms)
1773
+ Processing by TemplateAssertionsController#render_with_partial as HTML
1774
+ Rendered test/_partial.html.erb (0.3ms)
1775
+ Completed 200 OK in 2ms (Views: 1.8ms)
1776
+ Processing by TemplateAssertionsController#render_nothing as HTML
1777
+ Completed 200 OK in 0ms (Views: 1.8ms)
1778
+ Processing by TemplateAssertionsController#render_with_layout as HTML
1779
+ Rendering test/hello_world.html.erb within layouts/standard
1780
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
1781
+ Completed 200 OK in 0ms (Views: 0.4ms)
1782
+ Processing by TemplateAssertionsController#render_nothing as HTML
1783
+ Completed 200 OK in 0ms (Views: 0.4ms)
1784
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
1785
+ Rendering README.rdoc
1786
+ Rendered README.rdoc (0.4ms)
1787
+ Completed 200 OK in 1ms (Views: 1.4ms)
1788
+ Processing by TemplateAssertionsController#render_nothing as HTML
1789
+ Completed 200 OK in 0ms (Views: 1.4ms)
1790
+ ------------------------------------------------------------
1791
+ TemplateAssertionsControllerTest: test_passed_with_no_layout
1792
+ ------------------------------------------------------------
1793
+ Processing by TemplateAssertionsController#render_with_template as HTML
1794
+ Rendering test/hello_world.html.erb
1795
+ Rendered test/hello_world.html.erb (0.1ms)
1796
+ Completed 200 OK in 1ms (Views: 0.8ms)
1797
+ -----------------------------------------------------------------
1798
+ TemplateAssertionsControllerTest: test_passes_with_correct_symbol
1799
+ -----------------------------------------------------------------
1800
+ Processing by TemplateAssertionsController#render_with_template as HTML
1801
+ Rendering test/hello_world.html.erb
1802
+ Rendered test/hello_world.html.erb (0.1ms)
1803
+ Completed 200 OK in 1ms (Views: 0.6ms)
1804
+ ------------------------------------------------------------------
1805
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_symbol
1806
+ ------------------------------------------------------------------
1807
+ Processing by TemplateAssertionsController#render_with_template as HTML
1808
+ Rendering test/hello_world.html.erb
1809
+ Rendered test/hello_world.html.erb (0.1ms)
1810
+ Completed 200 OK in 1ms (Views: 0.6ms)
1811
+ -----------------------------------------------------------------------
1812
+ TemplateAssertionsControllerTest: test_fails_expecting_not_known_layout
1813
+ -----------------------------------------------------------------------
1814
+ Processing by TemplateAssertionsController#render_with_layout as HTML
1815
+ Rendering test/hello_world.html.erb within layouts/standard
1816
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
1817
+ Completed 200 OK in 0ms (Views: 0.4ms)
1818
+ ---------------------------------------------------------------------
1819
+ TemplateAssertionsControllerTest: test_passes_with_layout_and_partial
1820
+ ---------------------------------------------------------------------
1821
+ Processing by TemplateAssertionsController#render_with_layout_and_partial as HTML
1822
+ Rendering test/hello_world_with_partial.html.erb within layouts/standard
1823
+ Rendered test/_partial.html.erb (0.1ms)
1824
+ Rendered test/hello_world_with_partial.html.erb within layouts/standard (0.8ms)
1825
+ Completed 200 OK in 3ms (Views: 3.2ms)
1826
+ --------------------------------------------------------
1827
+ TemplateAssertionsControllerTest: test_with_file_failure
1828
+ --------------------------------------------------------
1829
+ Processing by TemplateAssertionsController#render_file_absolute_path as HTML
1830
+ Rendering README.rdoc
1831
+ Rendered README.rdoc (0.1ms)
1832
+ Completed 200 OK in 1ms (Views: 0.6ms)
1833
+ Processing by TemplateAssertionsController#render_file_absolute_path as HTML
1834
+ Rendering README.rdoc
1835
+ Rendered README.rdoc (0.0ms)
1836
+ Completed 200 OK in 1ms (Views: 0.7ms)
1837
+ ---------------------------------------------------
1838
+ TemplateAssertionsControllerTest: test_with_partial
1839
+ ---------------------------------------------------
1840
+ Processing by TemplateAssertionsController#render_with_partial as HTML
1841
+ Rendered test/_partial.html.erb (0.2ms)
1842
+ Completed 200 OK in 1ms (Views: 0.6ms)
1843
+ ----------------------------------------------------------------
1844
+ TemplateAssertionsControllerTest: test_fails_expecting_no_layout
1845
+ ----------------------------------------------------------------
1846
+ Processing by TemplateAssertionsController#render_with_layout as HTML
1847
+ Rendering test/hello_world.html.erb within layouts/standard
1848
+ Rendered test/hello_world.html.erb within layouts/standard (0.1ms)
1849
+ Completed 200 OK in 1ms (Views: 1.3ms)
1850
+ -----------------------------------------------------------------------------------
1851
+ TemplateAssertionsControllerTest: test_with_invalid_hash_keys_raises_argument_error
1852
+ -----------------------------------------------------------------------------------
1853
+ -------------------------------------------------------------------------------
1854
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_symbol_that_matches
1855
+ -------------------------------------------------------------------------------
1856
+ Processing by TemplateAssertionsController#render_with_template as HTML
1857
+ Rendering test/hello_world.html.erb
1858
+ Rendered test/hello_world.html.erb (0.2ms)
1859
+ Completed 200 OK in 1ms (Views: 1.3ms)
1860
+ ------------------------------------------------------------------
1861
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_string
1862
+ ------------------------------------------------------------------
1863
+ Processing by TemplateAssertionsController#render_with_template as HTML
1864
+ Rendering test/hello_world.html.erb
1865
+ Rendered test/hello_world.html.erb (0.0ms)
1866
+ Completed 200 OK in 0ms (Views: 0.4ms)
1867
+ ------------------------------------------------------------------
1868
+ TemplateAssertionsControllerTest: test_passed_with_no_layout_false
1869
+ ------------------------------------------------------------------
1870
+ Processing by TemplateAssertionsController#render_with_template as HTML
1871
+ Rendering test/hello_world.html.erb
1872
+ Rendered test/hello_world.html.erb (0.1ms)
1873
+ Completed 200 OK in 0ms (Views: 0.4ms)
1874
+ ----------------------------------------------------------------------------------------
1875
+ TemplateAssertionsControllerTest: test_passes_with_correct_layout_without_layouts_prefix
1876
+ ----------------------------------------------------------------------------------------
1877
+ Processing by TemplateAssertionsController#render_with_layout as HTML
1878
+ Rendering test/hello_world.html.erb within layouts/standard
1879
+ Rendered test/hello_world.html.erb within layouts/standard (0.1ms)
1880
+ Completed 200 OK in 1ms (Views: 0.7ms)
1881
+ ----------------------------------------------------------------------------------------
1882
+ TemplateAssertionsControllerTest: test_with_empty_string_fails_when_no_template_rendered
1883
+ ----------------------------------------------------------------------------------------
1884
+ Processing by TemplateAssertionsController#render_nothing as HTML
1885
+ Completed 200 OK in 0ms
1886
+ ----------------------------------------------------------------------------------------
1887
+ TemplateAssertionsControllerTest: test_locals_option_to_assert_template_is_not_supported
1888
+ ----------------------------------------------------------------------------------------
1889
+ Processing by TemplateAssertionsController#render_nothing as HTML
1890
+ Completed 200 OK in 0ms
1891
+ -------------------------------------------------------------------------------------
1892
+ TemplateAssertionsControllerTest: test_with_empty_string_fails_when_template_rendered
1893
+ -------------------------------------------------------------------------------------
1894
+ Processing by TemplateAssertionsController#render_with_template as HTML
1895
+ Rendering test/hello_world.html.erb
1896
+ Rendered test/hello_world.html.erb (0.1ms)
1897
+ Completed 200 OK in 1ms (Views: 0.7ms)
1898
+ -----------------------------------------------------------------
1899
+ TemplateAssertionsControllerTest: test_passes_with_correct_string
1900
+ -----------------------------------------------------------------
1901
+ Processing by TemplateAssertionsController#render_with_template as HTML
1902
+ Rendering test/hello_world.html.erb
1903
+ Rendered test/hello_world.html.erb (0.1ms)
1904
+ Completed 200 OK in 1ms (Views: 0.7ms)
1905
+ -----------------------------------------------------------------
1906
+ TemplateAssertionsControllerTest: test_passes_with_correct_layout
1907
+ -----------------------------------------------------------------
1908
+ Processing by TemplateAssertionsController#render_with_layout as HTML
1909
+ Rendering test/hello_world.html.erb within layouts/standard
1910
+ Rendered test/hello_world.html.erb within layouts/standard (0.1ms)
1911
+ Completed 200 OK in 1ms (Views: 0.7ms)
1912
+ -------------------------------------------------------------------------------
1913
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_string_that_matches
1914
+ -------------------------------------------------------------------------------
1915
+ Processing by TemplateAssertionsController#render_with_template as HTML
1916
+ Rendering test/hello_world.html.erb
1917
+ Rendered test/hello_world.html.erb (0.1ms)
1918
+ Completed 200 OK in 1ms (Views: 0.6ms)
1919
+ ----------------------------------------------------------------------
1920
+ TemplateAssertionsIntegrationTest: test_partial_reset_between_requests
1921
+ ----------------------------------------------------------------------
1922
+ Started GET "/template_assertions/render_with_partial" for 127.0.0.1 at 2016-08-25 04:39:02 -0300
1923
+ Processing by TemplateAssertionsController#render_with_partial as HTML
1924
+ Rendered test/_partial.html.erb (0.3ms)
1925
+ Completed 200 OK in 2ms (Views: 1.7ms)
1926
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:39:02 -0300
1927
+ Processing by TemplateAssertionsController#render_nothing as HTML
1928
+ Completed 200 OK in 0ms
1929
+ -------------------------------------------------------------------------------
1930
+ TemplateAssertionsIntegrationTest: test_cookies_do_not_reset_template_assertion
1931
+ -------------------------------------------------------------------------------
1932
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2016-08-25 04:39:02 -0300
1933
+ Processing by TemplateAssertionsController#render_with_layout as HTML
1934
+ Rendering test/hello_world.html.erb within layouts/standard
1935
+ Rendered test/hello_world.html.erb within layouts/standard (0.5ms)
1936
+ Completed 200 OK in 4ms (Views: 4.2ms)
1937
+ -------------------------------------------------------------------
1938
+ TemplateAssertionsIntegrationTest: test_file_reset_between_requests
1939
+ -------------------------------------------------------------------
1940
+ Started GET "/template_assertions/render_file_relative_path" for 127.0.0.1 at 2016-08-25 04:39:02 -0300
1941
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
1942
+ Rendering README.rdoc
1943
+ Rendered README.rdoc (0.4ms)
1944
+ Completed 200 OK in 6ms (Views: 6.2ms)
1945
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:39:02 -0300
1946
+ Processing by TemplateAssertionsController#render_nothing as HTML
1947
+ Completed 200 OK in 0ms
1948
+ ------------------------------------------------------------------------------------------
1949
+ TemplateAssertionsIntegrationTest: test_file_reset_between_requests_when_opening_a_session
1950
+ ------------------------------------------------------------------------------------------
1951
+ Started GET "/template_assertions/render_file_relative_path" for 127.0.0.1 at 2016-08-25 04:39:02 -0300
1952
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
1953
+ Rendering README.rdoc
1954
+ Rendered README.rdoc (0.6ms)
1955
+ Completed 200 OK in 9ms (Views: 8.9ms)
1956
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:39:02 -0300
1957
+ Processing by TemplateAssertionsController#render_nothing as HTML
1958
+ Completed 200 OK in 0ms
1959
+ --------------------------------------------------------------------------------------------
1960
+ TemplateAssertionsIntegrationTest: test_layout_reset_between_requests_when_opening_a_session
1961
+ --------------------------------------------------------------------------------------------
1962
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2016-08-25 04:39:02 -0300
1963
+ Processing by TemplateAssertionsController#render_with_layout as HTML
1964
+ Rendering test/hello_world.html.erb within layouts/standard
1965
+ Rendered test/hello_world.html.erb within layouts/standard (0.5ms)
1966
+ Completed 200 OK in 6ms (Views: 5.8ms)
1967
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:39:02 -0300
1968
+ Processing by TemplateAssertionsController#render_nothing as HTML
1969
+ Completed 200 OK in 0ms
1970
+ ---------------------------------------------------------------------
1971
+ TemplateAssertionsIntegrationTest: test_layout_reset_between_requests
1972
+ ---------------------------------------------------------------------
1973
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2016-08-25 04:39:02 -0300
1974
+ Processing by TemplateAssertionsController#render_with_layout as HTML
1975
+ Rendering test/hello_world.html.erb within layouts/standard
1976
+ Rendered test/hello_world.html.erb within layouts/standard (0.3ms)
1977
+ Completed 200 OK in 4ms (Views: 4.1ms)
1978
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:39:02 -0300
1979
+ Processing by TemplateAssertionsController#render_nothing as HTML
1980
+ Completed 200 OK in 0ms
1981
+ -------------------------------------------------------------------------------
1982
+ TemplateAssertionsIntegrationTest: test_assigns_do_not_reset_template_assertion
1983
+ -------------------------------------------------------------------------------
1984
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2016-08-25 04:39:02 -0300
1985
+ Processing by TemplateAssertionsController#render_with_layout as HTML
1986
+ Rendering test/hello_world.html.erb within layouts/standard
1987
+ Rendered test/hello_world.html.erb within layouts/standard (0.4ms)
1988
+ Completed 200 OK in 4ms (Views: 3.7ms)
1989
+ -----------------------------------------------------------------------
1990
+ TemplateAssertionsIntegrationTest: test_template_reset_between_requests
1991
+ -----------------------------------------------------------------------
1992
+ Started GET "/template_assertions/render_with_template" for 127.0.0.1 at 2016-08-25 04:39:02 -0300
1993
+ Processing by TemplateAssertionsController#render_with_template as HTML
1994
+ Rendering test/hello_world.html.erb
1995
+ Rendered test/hello_world.html.erb (0.4ms)
1996
+ Completed 200 OK in 4ms (Views: 4.0ms)
1997
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:39:02 -0300
1998
+ Processing by TemplateAssertionsController#render_nothing as HTML
1999
+ Completed 200 OK in 0ms
2000
+ ----------------------------------------------------------------------------------------------
2001
+ TemplateAssertionsIntegrationTest: test_template_reset_between_requests_when_opening_a_session
2002
+ ----------------------------------------------------------------------------------------------
2003
+ Started GET "/template_assertions/render_with_template" for 127.0.0.1 at 2016-08-25 04:39:02 -0300
2004
+ Processing by TemplateAssertionsController#render_with_template as HTML
2005
+ Rendering test/hello_world.html.erb
2006
+ Rendered test/hello_world.html.erb (0.3ms)
2007
+ Completed 200 OK in 4ms (Views: 4.1ms)
2008
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:39:02 -0300
2009
+ Processing by TemplateAssertionsController#render_nothing as HTML
2010
+ Completed 200 OK in 0ms
2011
+ ---------------------------------------------------------------------------------------------
2012
+ TemplateAssertionsIntegrationTest: test_partial_reset_between_requests_when_opening_a_session
2013
+ ---------------------------------------------------------------------------------------------
2014
+ Started GET "/template_assertions/render_with_partial" for 127.0.0.1 at 2016-08-25 04:39:02 -0300
2015
+ Processing by TemplateAssertionsController#render_with_partial as HTML
2016
+ Rendered test/_partial.html.erb (0.4ms)
2017
+ Completed 200 OK in 2ms (Views: 2.2ms)
2018
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:39:02 -0300
2019
+ Processing by TemplateAssertionsController#render_nothing as HTML
2020
+ Completed 200 OK in 0ms
2021
+ -----------------------------------------------------
2022
+ RenderTemplateTest: test_supports_specifying_partials
2023
+ -----------------------------------------------------
2024
+ Rendering test/calling_partial_with_layout.html.erb
2025
+ Rendered test/_partial_for_use_in_layout.html.erb (11.4ms)
2026
+ Rendered test/calling_partial_with_layout.html.erb (23.2ms)
2027
+ ----------------------------------------------------------------------------------------------------------------
2028
+ RenderTemplateTest: test_specifying_locals_works_when_the_partial_is_inside_a_directory_without_underline_prefix
2029
+ ----------------------------------------------------------------------------------------------------------------
2030
+ Rendering test/render_partial_inside_directory.html.erb
2031
+ Rendered test/_directory/_partial_with_locales.html.erb (0.4ms)
2032
+ Rendered test/render_partial_inside_directory.html.erb (13.0ms)
2033
+ -------------------------------------------------------------
2034
+ RenderTemplateTest: test_supports_specifying_locals_(passing)
2035
+ -------------------------------------------------------------
2036
+ Rendering test/calling_partial_with_layout.html.erb
2037
+ Rendered test/_partial_for_use_in_layout.html.erb (0.1ms)
2038
+ Rendered test/calling_partial_with_layout.html.erb (0.2ms)
2039
+ -------------------------------------------------------------------------------------------------------------
2040
+ RenderTemplateTest: test_specifying_locals_works_when_the_partial_is_inside_a_directory_with_underline_prefix
2041
+ -------------------------------------------------------------------------------------------------------------
2042
+ Rendering test/render_partial_inside_directory.html.erb
2043
+ Rendered test/_directory/_partial_with_locales.html.erb (0.0ms)
2044
+ Rendered test/render_partial_inside_directory.html.erb (0.2ms)
2045
+ --------------------------------------------------------------------
2046
+ RenderTemplateTest: test_supports_specifying_templates_with_a_Regexp
2047
+ --------------------------------------------------------------------
2048
+ Rendering test/hello_world.html.erb
2049
+ Rendered test/hello_world.html.erb (0.3ms)
2050
+ ----------------------------------------------------------------------
2051
+ RenderTemplateTest: test_supports_different_locals_on_the_same_partial
2052
+ ----------------------------------------------------------------------
2053
+ Rendering test/render_two_partials.html.erb
2054
+ Rendered test/_partial.html.erb (0.3ms)
2055
+ Rendered test/_partial.html.erb (0.3ms)
2056
+ Rendered test/render_two_partials.html.erb (26.0ms)
2057
+ -------------------------------------------------------------
2058
+ RenderTemplateTest: test_supports_specifying_locals_(failing)
2059
+ -------------------------------------------------------------
2060
+ Rendering test/calling_partial_with_layout.html.erb
2061
+ Rendered test/_partial_for_use_in_layout.html.erb (0.1ms)
2062
+ Rendered test/calling_partial_with_layout.html.erb (0.2ms)
2063
+ ----------------------------------------------------------------------------------------
2064
+ RenderTemplateTest: test_raises_descriptive_error_message_when_template_was_not_rendered
2065
+ ----------------------------------------------------------------------------------------
2066
+ Rendering test/hello_world_with_partial.html.erb
2067
+ Rendered test/_partial.html.erb (0.3ms)
2068
+ Rendered test/hello_world_with_partial.html.erb (15.2ms)
2069
+ ----------------------------------------
2070
+ AssignsControllerTest: test_view_assigns
2071
+ ----------------------------------------
2072
+ Processing by ViewAssignsController#test_assigns as HTML
2073
+ Completed 200 OK in 0ms
2074
+ -----------------------------------
2075
+ AssignsControllerTest: test_assigns
2076
+ -----------------------------------
2077
+ Processing by AssignsController#test_assigns as HTML
2078
+ Completed 200 OK in 0ms
2079
+ -----------------------------------
2080
+ AssignsControllerTest: test_assigns
2081
+ -----------------------------------
2082
+ Processing by AssignsController#test_assigns as HTML
2083
+ Completed 200 OK in 0ms
2084
+ ----------------------------------------
2085
+ AssignsControllerTest: test_view_assigns
2086
+ ----------------------------------------
2087
+ Processing by ViewAssignsController#test_assigns as HTML
2088
+ Completed 200 OK in 0ms
2089
+ -----------------------------------------------------------------------
2090
+ TemplateAssertionsControllerTest: test_fails_expecting_not_known_layout
2091
+ -----------------------------------------------------------------------
2092
+ Processing by TemplateAssertionsController#render_with_layout as HTML
2093
+ Rendering test/hello_world.html.erb within layouts/standard
2094
+ Rendered test/hello_world.html.erb within layouts/standard (0.8ms)
2095
+ Completed 200 OK in 6ms (Views: 6.0ms)
2096
+ ------------------------------------------------------------------------
2097
+ TemplateAssertionsControllerTest: test_passes_with_correct_layout_symbol
2098
+ ------------------------------------------------------------------------
2099
+ Processing by TemplateAssertionsController#render_with_layout as HTML
2100
+ Rendering test/hello_world.html.erb within layouts/standard
2101
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
2102
+ Completed 200 OK in 0ms (Views: 0.4ms)
2103
+ -----------------------------------------------------------------
2104
+ TemplateAssertionsControllerTest: test_passes_with_correct_string
2105
+ -----------------------------------------------------------------
2106
+ Processing by TemplateAssertionsController#render_with_template as HTML
2107
+ Rendering test/hello_world.html.erb
2108
+ Rendered test/hello_world.html.erb (0.0ms)
2109
+ Completed 200 OK in 2ms (Views: 2.3ms)
2110
+ ----------------------------------------------------------------------------------------
2111
+ TemplateAssertionsControllerTest: test_passes_with_correct_layout_without_layouts_prefix
2112
+ ----------------------------------------------------------------------------------------
2113
+ Processing by TemplateAssertionsController#render_with_layout as HTML
2114
+ Rendering test/hello_world.html.erb within layouts/standard
2115
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
2116
+ Completed 200 OK in 0ms (Views: 0.3ms)
2117
+ ----------------------------------------------------------------------------
2118
+ TemplateAssertionsControllerTest: test_with_nil_fails_when_template_rendered
2119
+ ----------------------------------------------------------------------------
2120
+ Processing by TemplateAssertionsController#render_with_template as HTML
2121
+ Rendering test/hello_world.html.erb
2122
+ Rendered test/hello_world.html.erb (0.0ms)
2123
+ Completed 200 OK in 0ms (Views: 0.3ms)
2124
+ -----------------------------------------------------------------
2125
+ TemplateAssertionsControllerTest: test_passes_with_correct_symbol
2126
+ -----------------------------------------------------------------
2127
+ Processing by TemplateAssertionsController#render_with_template as HTML
2128
+ Rendering test/hello_world.html.erb
2129
+ Rendered test/hello_world.html.erb (0.1ms)
2130
+ Completed 200 OK in 1ms (Views: 0.5ms)
2131
+ ----------------------------------------------------------------------
2132
+ TemplateAssertionsControllerTest: test_file_with_relative_path_success
2133
+ ----------------------------------------------------------------------
2134
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
2135
+ Rendering README.rdoc
2136
+ Rendered README.rdoc (0.2ms)
2137
+ Completed 200 OK in 3ms (Views: 3.3ms)
2138
+ ------------------------------------------------------------------
2139
+ TemplateAssertionsControllerTest: test_passed_with_no_layout_false
2140
+ ------------------------------------------------------------------
2141
+ Processing by TemplateAssertionsController#render_with_template as HTML
2142
+ Rendering test/hello_world.html.erb
2143
+ Rendered test/hello_world.html.erb (0.0ms)
2144
+ Completed 200 OK in 0ms (Views: 0.4ms)
2145
+ ----------------------------------------------------------------
2146
+ TemplateAssertionsControllerTest: test_fails_expecting_no_layout
2147
+ ----------------------------------------------------------------
2148
+ Processing by TemplateAssertionsController#render_with_layout as HTML
2149
+ Rendering test/hello_world.html.erb within layouts/standard
2150
+ Rendered test/hello_world.html.erb within layouts/standard (0.1ms)
2151
+ Completed 200 OK in 1ms (Views: 0.5ms)
2152
+ --------------------------------------------------------------------------------
2153
+ TemplateAssertionsControllerTest: test_with_nil_passes_when_no_template_rendered
2154
+ --------------------------------------------------------------------------------
2155
+ Processing by TemplateAssertionsController#render_nothing as HTML
2156
+ Completed 200 OK in 0ms
2157
+ --------------------------------------------------------
2158
+ TemplateAssertionsControllerTest: test_with_file_failure
2159
+ --------------------------------------------------------
2160
+ Processing by TemplateAssertionsController#render_file_absolute_path as HTML
2161
+ Rendering README.rdoc
2162
+ Rendered README.rdoc (0.4ms)
2163
+ Completed 200 OK in 6ms (Views: 6.0ms)
2164
+ Processing by TemplateAssertionsController#render_file_absolute_path as HTML
2165
+ Rendering README.rdoc
2166
+ Rendered README.rdoc (0.1ms)
2167
+ Completed 200 OK in 1ms (Views: 0.8ms)
2168
+ ------------------------------------------------------------------
2169
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_symbol
2170
+ ------------------------------------------------------------------
2171
+ Processing by TemplateAssertionsController#render_with_template as HTML
2172
+ Rendering test/hello_world.html.erb
2173
+ Rendered test/hello_world.html.erb (0.1ms)
2174
+ Completed 200 OK in 1ms (Views: 0.6ms)
2175
+ ---------------------------------------------------------------------
2176
+ TemplateAssertionsControllerTest: test_passes_with_layout_and_partial
2177
+ ---------------------------------------------------------------------
2178
+ Processing by TemplateAssertionsController#render_with_layout_and_partial as HTML
2179
+ Rendering test/hello_world_with_partial.html.erb within layouts/standard
2180
+ Rendered test/_partial.html.erb (0.3ms)
2181
+ Rendered test/hello_world_with_partial.html.erb within layouts/standard (3.1ms)
2182
+ Completed 200 OK in 6ms (Views: 5.9ms)
2183
+ --------------------------------------------------------------
2184
+ TemplateAssertionsControllerTest: test_fails_with_wrong_layout
2185
+ --------------------------------------------------------------
2186
+ Processing by TemplateAssertionsController#render_with_layout as HTML
2187
+ Rendering test/hello_world.html.erb within layouts/standard
2188
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
2189
+ Completed 200 OK in 0ms (Views: 0.4ms)
2190
+ -----------------------------------------------------------------
2191
+ TemplateAssertionsControllerTest: test_passes_with_correct_layout
2192
+ -----------------------------------------------------------------
2193
+ Processing by TemplateAssertionsController#render_with_layout as HTML
2194
+ Rendering test/hello_world.html.erb within layouts/standard
2195
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
2196
+ Completed 200 OK in 0ms (Views: 0.3ms)
2197
+ -------------------------------------------------------------------------------------
2198
+ TemplateAssertionsControllerTest: test_with_empty_string_fails_when_template_rendered
2199
+ -------------------------------------------------------------------------------------
2200
+ Processing by TemplateAssertionsController#render_with_template as HTML
2201
+ Rendering test/hello_world.html.erb
2202
+ Rendered test/hello_world.html.erb (0.0ms)
2203
+ Completed 200 OK in 0ms (Views: 0.3ms)
2204
+ ------------------------------------------------------------
2205
+ TemplateAssertionsControllerTest: test_passed_with_no_layout
2206
+ ------------------------------------------------------------
2207
+ Processing by TemplateAssertionsController#render_with_template as HTML
2208
+ Rendering test/hello_world.html.erb
2209
+ Rendered test/hello_world.html.erb (0.0ms)
2210
+ Completed 200 OK in 0ms (Views: 0.3ms)
2211
+ -----------------------------------------------------------------------------
2212
+ TemplateAssertionsControllerTest: test_assert_template_reset_between_requests
2213
+ -----------------------------------------------------------------------------
2214
+ Processing by TemplateAssertionsController#render_with_template as HTML
2215
+ Rendering test/hello_world.html.erb
2216
+ Rendered test/hello_world.html.erb (0.0ms)
2217
+ Completed 200 OK in 0ms (Views: 0.3ms)
2218
+ Processing by TemplateAssertionsController#render_nothing as HTML
2219
+ Completed 200 OK in 0ms (Views: 0.3ms)
2220
+ Processing by TemplateAssertionsController#render_with_partial as HTML
2221
+ Rendered test/_partial.html.erb (0.0ms)
2222
+ Completed 200 OK in 0ms (Views: 0.2ms)
2223
+ Processing by TemplateAssertionsController#render_nothing as HTML
2224
+ Completed 200 OK in 0ms (Views: 0.2ms)
2225
+ Processing by TemplateAssertionsController#render_with_layout as HTML
2226
+ Rendering test/hello_world.html.erb within layouts/standard
2227
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
2228
+ Completed 200 OK in 0ms (Views: 0.3ms)
2229
+ Processing by TemplateAssertionsController#render_nothing as HTML
2230
+ Completed 200 OK in 0ms (Views: 0.3ms)
2231
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
2232
+ Rendering README.rdoc
2233
+ Rendered README.rdoc (0.0ms)
2234
+ Completed 200 OK in 0ms (Views: 0.3ms)
2235
+ Processing by TemplateAssertionsController#render_nothing as HTML
2236
+ Completed 200 OK in 0ms (Views: 0.3ms)
2237
+ -----------------------------------------------------------------------
2238
+ TemplateAssertionsControllerTest: test_fails_with_repeated_name_in_path
2239
+ -----------------------------------------------------------------------
2240
+ Processing by TemplateAssertionsController#render_with_template_repeating_in_path as HTML
2241
+ Rendering test/hello/hello.html.erb
2242
+ Rendered test/hello/hello.html.erb (0.3ms)
2243
+ Completed 200 OK in 2ms (Views: 1.8ms)
2244
+ ----------------------------------------------------------------------------------------
2245
+ TemplateAssertionsControllerTest: test_locals_option_to_assert_template_is_not_supported
2246
+ ----------------------------------------------------------------------------------------
2247
+ Processing by TemplateAssertionsController#render_nothing as HTML
2248
+ Completed 200 OK in 0ms
2249
+ -------------------------------------------------------------------------------
2250
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_symbol_that_matches
2251
+ -------------------------------------------------------------------------------
2252
+ Processing by TemplateAssertionsController#render_with_template as HTML
2253
+ Rendering test/hello_world.html.erb
2254
+ Rendered test/hello_world.html.erb (0.0ms)
2255
+ Completed 200 OK in 0ms (Views: 0.4ms)
2256
+ -----------------------------------------------------------------------------------
2257
+ TemplateAssertionsControllerTest: test_with_invalid_hash_keys_raises_argument_error
2258
+ -----------------------------------------------------------------------------------
2259
+ -------------------------------------------------------------------------------
2260
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_string_that_matches
2261
+ -------------------------------------------------------------------------------
2262
+ Processing by TemplateAssertionsController#render_with_template as HTML
2263
+ Rendering test/hello_world.html.erb
2264
+ Rendered test/hello_world.html.erb (0.0ms)
2265
+ Completed 200 OK in 0ms (Views: 0.3ms)
2266
+ ----------------------------------------------------------------------
2267
+ TemplateAssertionsControllerTest: test_file_with_absolute_path_success
2268
+ ----------------------------------------------------------------------
2269
+ Processing by TemplateAssertionsController#render_file_absolute_path as HTML
2270
+ Rendering README.rdoc
2271
+ Rendered README.rdoc (0.0ms)
2272
+ Completed 200 OK in 0ms (Views: 0.4ms)
2273
+ ------------------------------------------------------------------
2274
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_string
2275
+ ------------------------------------------------------------------
2276
+ Processing by TemplateAssertionsController#render_with_template as HTML
2277
+ Rendering test/hello_world.html.erb
2278
+ Rendered test/hello_world.html.erb (0.0ms)
2279
+ Completed 200 OK in 0ms (Views: 0.3ms)
2280
+ ----------------------------------------------------------------------------------------
2281
+ TemplateAssertionsControllerTest: test_with_empty_string_fails_when_no_template_rendered
2282
+ ----------------------------------------------------------------------------------------
2283
+ Processing by TemplateAssertionsController#render_nothing as HTML
2284
+ Completed 200 OK in 0ms
2285
+ ---------------------------------------------------
2286
+ TemplateAssertionsControllerTest: test_with_partial
2287
+ ---------------------------------------------------
2288
+ Processing by TemplateAssertionsController#render_with_partial as HTML
2289
+ Rendered test/_partial.html.erb (0.0ms)
2290
+ Completed 200 OK in 0ms (Views: 0.2ms)
2291
+ ---------------------------------------------------------------------
2292
+ TemplateAssertionsIntegrationTest: test_layout_reset_between_requests
2293
+ ---------------------------------------------------------------------
2294
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2016-08-25 04:43:13 -0300
2295
+ Processing by TemplateAssertionsController#render_with_layout as HTML
2296
+ Rendering test/hello_world.html.erb within layouts/standard
2297
+ Rendered test/hello_world.html.erb within layouts/standard (0.3ms)
2298
+ Completed 200 OK in 3ms (Views: 3.1ms)
2299
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:43:13 -0300
2300
+ Processing by TemplateAssertionsController#render_nothing as HTML
2301
+ Completed 200 OK in 0ms
2302
+ -------------------------------------------------------------------------------
2303
+ TemplateAssertionsIntegrationTest: test_assigns_do_not_reset_template_assertion
2304
+ -------------------------------------------------------------------------------
2305
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2016-08-25 04:43:13 -0300
2306
+ Processing by TemplateAssertionsController#render_with_layout as HTML
2307
+ Rendering test/hello_world.html.erb within layouts/standard
2308
+ Rendered test/hello_world.html.erb within layouts/standard (0.3ms)
2309
+ Completed 200 OK in 3ms (Views: 3.0ms)
2310
+ ----------------------------------------------------------------------
2311
+ TemplateAssertionsIntegrationTest: test_partial_reset_between_requests
2312
+ ----------------------------------------------------------------------
2313
+ Started GET "/template_assertions/render_with_partial" for 127.0.0.1 at 2016-08-25 04:43:13 -0300
2314
+ Processing by TemplateAssertionsController#render_with_partial as HTML
2315
+ Rendered test/_partial.html.erb (0.3ms)
2316
+ Completed 200 OK in 2ms (Views: 1.7ms)
2317
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:43:13 -0300
2318
+ Processing by TemplateAssertionsController#render_nothing as HTML
2319
+ Completed 200 OK in 0ms
2320
+ -----------------------------------------------------------------------
2321
+ TemplateAssertionsIntegrationTest: test_template_reset_between_requests
2322
+ -----------------------------------------------------------------------
2323
+ Started GET "/template_assertions/render_with_template" for 127.0.0.1 at 2016-08-25 04:43:13 -0300
2324
+ Processing by TemplateAssertionsController#render_with_template as HTML
2325
+ Rendering test/hello_world.html.erb
2326
+ Rendered test/hello_world.html.erb (0.3ms)
2327
+ Completed 200 OK in 4ms (Views: 3.6ms)
2328
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:43:13 -0300
2329
+ Processing by TemplateAssertionsController#render_nothing as HTML
2330
+ Completed 200 OK in 0ms
2331
+ -------------------------------------------------------------------------------
2332
+ TemplateAssertionsIntegrationTest: test_cookies_do_not_reset_template_assertion
2333
+ -------------------------------------------------------------------------------
2334
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2016-08-25 04:43:13 -0300
2335
+ Processing by TemplateAssertionsController#render_with_layout as HTML
2336
+ Rendering test/hello_world.html.erb within layouts/standard
2337
+ Rendered test/hello_world.html.erb within layouts/standard (0.3ms)
2338
+ Completed 200 OK in 3ms (Views: 2.8ms)
2339
+ -------------------------------------------------------------------
2340
+ TemplateAssertionsIntegrationTest: test_file_reset_between_requests
2341
+ -------------------------------------------------------------------
2342
+ Started GET "/template_assertions/render_file_relative_path" for 127.0.0.1 at 2016-08-25 04:43:13 -0300
2343
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
2344
+ Rendering README.rdoc
2345
+ Rendered README.rdoc (0.3ms)
2346
+ Completed 200 OK in 6ms (Views: 5.5ms)
2347
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:43:13 -0300
2348
+ Processing by TemplateAssertionsController#render_nothing as HTML
2349
+ Completed 200 OK in 0ms
2350
+ ---------------------------------------------------------------------------------------------
2351
+ TemplateAssertionsIntegrationTest: test_partial_reset_between_requests_when_opening_a_session
2352
+ ---------------------------------------------------------------------------------------------
2353
+ Started GET "/template_assertions/render_with_partial" for 127.0.0.1 at 2016-08-25 04:43:13 -0300
2354
+ Processing by TemplateAssertionsController#render_with_partial as HTML
2355
+ Rendered test/_partial.html.erb (0.3ms)
2356
+ Completed 200 OK in 2ms (Views: 1.8ms)
2357
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:43:13 -0300
2358
+ Processing by TemplateAssertionsController#render_nothing as HTML
2359
+ Completed 200 OK in 0ms
2360
+ ----------------------------------------------------------------------------------------------
2361
+ TemplateAssertionsIntegrationTest: test_template_reset_between_requests_when_opening_a_session
2362
+ ----------------------------------------------------------------------------------------------
2363
+ Started GET "/template_assertions/render_with_template" for 127.0.0.1 at 2016-08-25 04:43:13 -0300
2364
+ Processing by TemplateAssertionsController#render_with_template as HTML
2365
+ Rendering test/hello_world.html.erb
2366
+ Rendered test/hello_world.html.erb (0.3ms)
2367
+ Completed 200 OK in 4ms (Views: 4.1ms)
2368
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:43:13 -0300
2369
+ Processing by TemplateAssertionsController#render_nothing as HTML
2370
+ Completed 200 OK in 0ms
2371
+ ------------------------------------------------------------------------------------------
2372
+ TemplateAssertionsIntegrationTest: test_file_reset_between_requests_when_opening_a_session
2373
+ ------------------------------------------------------------------------------------------
2374
+ Started GET "/template_assertions/render_file_relative_path" for 127.0.0.1 at 2016-08-25 04:43:13 -0300
2375
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
2376
+ Rendering README.rdoc
2377
+ Rendered README.rdoc (0.3ms)
2378
+ Completed 200 OK in 6ms (Views: 6.1ms)
2379
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:43:13 -0300
2380
+ Processing by TemplateAssertionsController#render_nothing as HTML
2381
+ Completed 200 OK in 0ms
2382
+ --------------------------------------------------------------------------------------------
2383
+ TemplateAssertionsIntegrationTest: test_layout_reset_between_requests_when_opening_a_session
2384
+ --------------------------------------------------------------------------------------------
2385
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2016-08-25 04:43:13 -0300
2386
+ Processing by TemplateAssertionsController#render_with_layout as HTML
2387
+ Rendering test/hello_world.html.erb within layouts/standard
2388
+ Rendered test/hello_world.html.erb within layouts/standard (0.3ms)
2389
+ Completed 200 OK in 3ms (Views: 2.7ms)
2390
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:43:13 -0300
2391
+ Processing by TemplateAssertionsController#render_nothing as HTML
2392
+ Completed 200 OK in 0ms
2393
+ ----------------------------------------------------------------------
2394
+ RenderTemplateTest: test_supports_different_locals_on_the_same_partial
2395
+ ----------------------------------------------------------------------
2396
+ Rendering test/render_two_partials.html.erb
2397
+ Rendered test/_partial.html.erb (0.3ms)
2398
+ Rendered test/_partial.html.erb (0.3ms)
2399
+ Rendered test/render_two_partials.html.erb (26.0ms)
2400
+ ----------------------------------------------------------------------------------------
2401
+ RenderTemplateTest: test_raises_descriptive_error_message_when_template_was_not_rendered
2402
+ ----------------------------------------------------------------------------------------
2403
+ Rendering test/hello_world_with_partial.html.erb
2404
+ Rendered test/_partial.html.erb (0.3ms)
2405
+ Rendered test/hello_world_with_partial.html.erb (11.8ms)
2406
+ -------------------------------------------------------------------------------------------------------------
2407
+ RenderTemplateTest: test_specifying_locals_works_when_the_partial_is_inside_a_directory_with_underline_prefix
2408
+ -------------------------------------------------------------------------------------------------------------
2409
+ Rendering test/render_partial_inside_directory.html.erb
2410
+ Rendered test/_directory/_partial_with_locales.html.erb (0.4ms)
2411
+ Rendered test/render_partial_inside_directory.html.erb (13.7ms)
2412
+ --------------------------------------------------------------------
2413
+ RenderTemplateTest: test_supports_specifying_templates_with_a_Regexp
2414
+ --------------------------------------------------------------------
2415
+ Rendering test/hello_world.html.erb
2416
+ Rendered test/hello_world.html.erb (0.3ms)
2417
+ -----------------------------------------------------
2418
+ RenderTemplateTest: test_supports_specifying_partials
2419
+ -----------------------------------------------------
2420
+ Rendering test/calling_partial_with_layout.html.erb
2421
+ Rendered test/_partial_for_use_in_layout.html.erb (12.6ms)
2422
+ Rendered test/calling_partial_with_layout.html.erb (25.0ms)
2423
+ -------------------------------------------------------------
2424
+ RenderTemplateTest: test_supports_specifying_locals_(passing)
2425
+ -------------------------------------------------------------
2426
+ Rendering test/calling_partial_with_layout.html.erb
2427
+ Rendered test/_partial_for_use_in_layout.html.erb (0.1ms)
2428
+ Rendered test/calling_partial_with_layout.html.erb (0.2ms)
2429
+ -------------------------------------------------------------
2430
+ RenderTemplateTest: test_supports_specifying_locals_(failing)
2431
+ -------------------------------------------------------------
2432
+ Rendering test/calling_partial_with_layout.html.erb
2433
+ Rendered test/_partial_for_use_in_layout.html.erb (0.1ms)
2434
+ Rendered test/calling_partial_with_layout.html.erb (0.2ms)
2435
+ ----------------------------------------------------------------------------------------------------------------
2436
+ RenderTemplateTest: test_specifying_locals_works_when_the_partial_is_inside_a_directory_without_underline_prefix
2437
+ ----------------------------------------------------------------------------------------------------------------
2438
+ Rendering test/render_partial_inside_directory.html.erb
2439
+ Rendered test/_directory/_partial_with_locales.html.erb (0.0ms)
2440
+ Rendered test/render_partial_inside_directory.html.erb (0.2ms)
2441
+ -----------------------------------
2442
+ AssignsControllerTest: test_assigns
2443
+ -----------------------------------
2444
+ Processing by AssignsController#test_assigns as HTML
2445
+ Completed 200 OK in 0ms
2446
+ ----------------------------------------
2447
+ AssignsControllerTest: test_view_assigns
2448
+ ----------------------------------------
2449
+ Processing by ViewAssignsController#test_assigns as HTML
2450
+ Completed 200 OK in 0ms
2451
+ -----------------------------------------------------
2452
+ RenderTemplateTest: test_supports_specifying_partials
2453
+ -----------------------------------------------------
2454
+ Rendering test/calling_partial_with_layout.html.erb
2455
+ Rendered test/_partial_for_use_in_layout.html.erb (12.1ms)
2456
+ Rendered test/calling_partial_with_layout.html.erb (30.7ms)
2457
+ ----------------------------------------------------------------------------------------------------------------
2458
+ RenderTemplateTest: test_specifying_locals_works_when_the_partial_is_inside_a_directory_without_underline_prefix
2459
+ ----------------------------------------------------------------------------------------------------------------
2460
+ Rendering test/render_partial_inside_directory.html.erb
2461
+ Rendered test/_directory/_partial_with_locales.html.erb (0.5ms)
2462
+ Rendered test/render_partial_inside_directory.html.erb (15.1ms)
2463
+ --------------------------------------------------------------------
2464
+ RenderTemplateTest: test_supports_specifying_templates_with_a_Regexp
2465
+ --------------------------------------------------------------------
2466
+ Rendering test/hello_world.html.erb
2467
+ Rendered test/hello_world.html.erb (0.3ms)
2468
+ ----------------------------------------------------------------------
2469
+ RenderTemplateTest: test_supports_different_locals_on_the_same_partial
2470
+ ----------------------------------------------------------------------
2471
+ Rendering test/render_two_partials.html.erb
2472
+ Rendered test/_partial.html.erb (0.3ms)
2473
+ Rendered test/_partial.html.erb (0.4ms)
2474
+ Rendered test/render_two_partials.html.erb (26.8ms)
2475
+ -------------------------------------------------------------------------------------------------------------
2476
+ RenderTemplateTest: test_specifying_locals_works_when_the_partial_is_inside_a_directory_with_underline_prefix
2477
+ -------------------------------------------------------------------------------------------------------------
2478
+ Rendering test/render_partial_inside_directory.html.erb
2479
+ Rendered test/_directory/_partial_with_locales.html.erb (0.0ms)
2480
+ Rendered test/render_partial_inside_directory.html.erb (0.2ms)
2481
+ -------------------------------------------------------------
2482
+ RenderTemplateTest: test_supports_specifying_locals_(failing)
2483
+ -------------------------------------------------------------
2484
+ Rendering test/calling_partial_with_layout.html.erb
2485
+ Rendered test/_partial_for_use_in_layout.html.erb (0.1ms)
2486
+ Rendered test/calling_partial_with_layout.html.erb (0.3ms)
2487
+ ----------------------------------------------------------------------------------------
2488
+ RenderTemplateTest: test_raises_descriptive_error_message_when_template_was_not_rendered
2489
+ ----------------------------------------------------------------------------------------
2490
+ Rendering test/hello_world_with_partial.html.erb
2491
+ Rendered test/_partial.html.erb (0.4ms)
2492
+ Rendered test/hello_world_with_partial.html.erb (14.1ms)
2493
+ -------------------------------------------------------------
2494
+ RenderTemplateTest: test_supports_specifying_locals_(passing)
2495
+ -------------------------------------------------------------
2496
+ Rendering test/calling_partial_with_layout.html.erb
2497
+ Rendered test/_partial_for_use_in_layout.html.erb (0.1ms)
2498
+ Rendered test/calling_partial_with_layout.html.erb (0.4ms)
2499
+ ------------------------------------------------------------------
2500
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_string
2501
+ ------------------------------------------------------------------
2502
+ Processing by TemplateAssertionsController#render_with_template as HTML
2503
+ Rendering test/hello_world.html.erb
2504
+ Rendered test/hello_world.html.erb (0.3ms)
2505
+ Completed 200 OK in 4ms (Views: 4.1ms)
2506
+ -------------------------------------------------------------------------------------
2507
+ TemplateAssertionsControllerTest: test_with_empty_string_fails_when_template_rendered
2508
+ -------------------------------------------------------------------------------------
2509
+ Processing by TemplateAssertionsController#render_with_template as HTML
2510
+ Rendering test/hello_world.html.erb
2511
+ Rendered test/hello_world.html.erb (0.0ms)
2512
+ Completed 200 OK in 0ms (Views: 0.4ms)
2513
+ -------------------------------------------------------------------------------
2514
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_string_that_matches
2515
+ -------------------------------------------------------------------------------
2516
+ Processing by TemplateAssertionsController#render_with_template as HTML
2517
+ Rendering test/hello_world.html.erb
2518
+ Rendered test/hello_world.html.erb (0.0ms)
2519
+ Completed 200 OK in 0ms (Views: 0.4ms)
2520
+ -----------------------------------------------------------------------------
2521
+ TemplateAssertionsControllerTest: test_assert_template_reset_between_requests
2522
+ -----------------------------------------------------------------------------
2523
+ Processing by TemplateAssertionsController#render_with_template as HTML
2524
+ Rendering test/hello_world.html.erb
2525
+ Rendered test/hello_world.html.erb (0.0ms)
2526
+ Completed 200 OK in 1ms (Views: 0.5ms)
2527
+ Processing by TemplateAssertionsController#render_nothing as HTML
2528
+ Completed 200 OK in 0ms (Views: 0.5ms)
2529
+ Processing by TemplateAssertionsController#render_with_partial as HTML
2530
+ Rendered test/_partial.html.erb (0.3ms)
2531
+ Completed 200 OK in 2ms (Views: 1.8ms)
2532
+ Processing by TemplateAssertionsController#render_nothing as HTML
2533
+ Completed 200 OK in 0ms (Views: 1.8ms)
2534
+ Processing by TemplateAssertionsController#render_with_layout as HTML
2535
+ Rendering test/hello_world.html.erb within layouts/standard
2536
+ Rendered test/hello_world.html.erb within layouts/standard (0.1ms)
2537
+ Completed 200 OK in 2ms (Views: 2.1ms)
2538
+ Processing by TemplateAssertionsController#render_nothing as HTML
2539
+ Completed 200 OK in 0ms (Views: 2.1ms)
2540
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
2541
+ Rendering README.rdoc
2542
+ Rendered README.rdoc (0.3ms)
2543
+ Completed 200 OK in 3ms (Views: 3.4ms)
2544
+ Processing by TemplateAssertionsController#render_nothing as HTML
2545
+ Completed 200 OK in 0ms (Views: 3.4ms)
2546
+ ----------------------------------------------------------------------
2547
+ TemplateAssertionsControllerTest: test_file_with_absolute_path_success
2548
+ ----------------------------------------------------------------------
2549
+ Processing by TemplateAssertionsController#render_file_absolute_path as HTML
2550
+ Rendering README.rdoc
2551
+ Rendered README.rdoc (0.4ms)
2552
+ Completed 200 OK in 5ms (Views: 4.7ms)
2553
+ ------------------------------------------------------------------------
2554
+ TemplateAssertionsControllerTest: test_passes_with_correct_layout_symbol
2555
+ ------------------------------------------------------------------------
2556
+ Processing by TemplateAssertionsController#render_with_layout as HTML
2557
+ Rendering test/hello_world.html.erb within layouts/standard
2558
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
2559
+ Completed 200 OK in 0ms (Views: 0.4ms)
2560
+ ----------------------------------------------------------------------------------------
2561
+ TemplateAssertionsControllerTest: test_locals_option_to_assert_template_is_not_supported
2562
+ ----------------------------------------------------------------------------------------
2563
+ Processing by TemplateAssertionsController#render_nothing as HTML
2564
+ Completed 200 OK in 0ms
2565
+ -----------------------------------------------------------------------
2566
+ TemplateAssertionsControllerTest: test_fails_with_repeated_name_in_path
2567
+ -----------------------------------------------------------------------
2568
+ Processing by TemplateAssertionsController#render_with_template_repeating_in_path as HTML
2569
+ Rendering test/hello/hello.html.erb
2570
+ Rendered test/hello/hello.html.erb (0.3ms)
2571
+ Completed 200 OK in 2ms (Views: 2.4ms)
2572
+ ----------------------------------------------------------------------
2573
+ TemplateAssertionsControllerTest: test_file_with_relative_path_success
2574
+ ----------------------------------------------------------------------
2575
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
2576
+ Rendering README.rdoc
2577
+ Rendered README.rdoc (0.0ms)
2578
+ Completed 200 OK in 0ms (Views: 0.4ms)
2579
+ --------------------------------------------------------------------------------
2580
+ TemplateAssertionsControllerTest: test_with_nil_passes_when_no_template_rendered
2581
+ --------------------------------------------------------------------------------
2582
+ Processing by TemplateAssertionsController#render_nothing as HTML
2583
+ Completed 200 OK in 0ms
2584
+ -----------------------------------------------------------------------------------
2585
+ TemplateAssertionsControllerTest: test_with_invalid_hash_keys_raises_argument_error
2586
+ -----------------------------------------------------------------------------------
2587
+ ----------------------------------------------------------------------------------------
2588
+ TemplateAssertionsControllerTest: test_with_empty_string_fails_when_no_template_rendered
2589
+ ----------------------------------------------------------------------------------------
2590
+ Processing by TemplateAssertionsController#render_nothing as HTML
2591
+ Completed 200 OK in 0ms
2592
+ ------------------------------------------------------------
2593
+ TemplateAssertionsControllerTest: test_passed_with_no_layout
2594
+ ------------------------------------------------------------
2595
+ Processing by TemplateAssertionsController#render_with_template as HTML
2596
+ Rendering test/hello_world.html.erb
2597
+ Rendered test/hello_world.html.erb (0.1ms)
2598
+ Completed 200 OK in 0ms (Views: 0.4ms)
2599
+ ---------------------------------------------------------------------
2600
+ TemplateAssertionsControllerTest: test_passes_with_layout_and_partial
2601
+ ---------------------------------------------------------------------
2602
+ Processing by TemplateAssertionsController#render_with_layout_and_partial as HTML
2603
+ Rendering test/hello_world_with_partial.html.erb within layouts/standard
2604
+ Rendered test/_partial.html.erb (0.0ms)
2605
+ Rendered test/hello_world_with_partial.html.erb within layouts/standard (0.5ms)
2606
+ Completed 200 OK in 2ms (Views: 2.1ms)
2607
+ --------------------------------------------------------
2608
+ TemplateAssertionsControllerTest: test_with_file_failure
2609
+ --------------------------------------------------------
2610
+ Processing by TemplateAssertionsController#render_file_absolute_path as HTML
2611
+ Rendering README.rdoc
2612
+ Rendered README.rdoc (0.1ms)
2613
+ Completed 200 OK in 1ms (Views: 0.5ms)
2614
+ Processing by TemplateAssertionsController#render_file_absolute_path as HTML
2615
+ Rendering README.rdoc
2616
+ Rendered README.rdoc (0.0ms)
2617
+ Completed 200 OK in 0ms (Views: 0.4ms)
2618
+ ----------------------------------------------------------------
2619
+ TemplateAssertionsControllerTest: test_fails_expecting_no_layout
2620
+ ----------------------------------------------------------------
2621
+ Processing by TemplateAssertionsController#render_with_layout as HTML
2622
+ Rendering test/hello_world.html.erb within layouts/standard
2623
+ Rendered test/hello_world.html.erb within layouts/standard (0.1ms)
2624
+ Completed 200 OK in 1ms (Views: 0.5ms)
2625
+ -------------------------------------------------------------------------------
2626
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_symbol_that_matches
2627
+ -------------------------------------------------------------------------------
2628
+ Processing by TemplateAssertionsController#render_with_template as HTML
2629
+ Rendering test/hello_world.html.erb
2630
+ Rendered test/hello_world.html.erb (0.1ms)
2631
+ Completed 200 OK in 1ms (Views: 0.6ms)
2632
+ ------------------------------------------------------------------
2633
+ TemplateAssertionsControllerTest: test_passed_with_no_layout_false
2634
+ ------------------------------------------------------------------
2635
+ Processing by TemplateAssertionsController#render_with_template as HTML
2636
+ Rendering test/hello_world.html.erb
2637
+ Rendered test/hello_world.html.erb (0.0ms)
2638
+ Completed 200 OK in 0ms (Views: 0.3ms)
2639
+ -----------------------------------------------------------------
2640
+ TemplateAssertionsControllerTest: test_passes_with_correct_layout
2641
+ -----------------------------------------------------------------
2642
+ Processing by TemplateAssertionsController#render_with_layout as HTML
2643
+ Rendering test/hello_world.html.erb within layouts/standard
2644
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
2645
+ Completed 200 OK in 0ms (Views: 0.4ms)
2646
+ -----------------------------------------------------------------
2647
+ TemplateAssertionsControllerTest: test_passes_with_correct_symbol
2648
+ -----------------------------------------------------------------
2649
+ Processing by TemplateAssertionsController#render_with_template as HTML
2650
+ Rendering test/hello_world.html.erb
2651
+ Rendered test/hello_world.html.erb (0.0ms)
2652
+ Completed 200 OK in 0ms (Views: 0.4ms)
2653
+ ---------------------------------------------------
2654
+ TemplateAssertionsControllerTest: test_with_partial
2655
+ ---------------------------------------------------
2656
+ Processing by TemplateAssertionsController#render_with_partial as HTML
2657
+ Rendered test/_partial.html.erb (0.2ms)
2658
+ Completed 200 OK in 1ms (Views: 0.9ms)
2659
+ ----------------------------------------------------------------------------------------
2660
+ TemplateAssertionsControllerTest: test_passes_with_correct_layout_without_layouts_prefix
2661
+ ----------------------------------------------------------------------------------------
2662
+ Processing by TemplateAssertionsController#render_with_layout as HTML
2663
+ Rendering test/hello_world.html.erb within layouts/standard
2664
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
2665
+ Completed 200 OK in 0ms (Views: 0.4ms)
2666
+ ------------------------------------------------------------------
2667
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_symbol
2668
+ ------------------------------------------------------------------
2669
+ Processing by TemplateAssertionsController#render_with_template as HTML
2670
+ Rendering test/hello_world.html.erb
2671
+ Rendered test/hello_world.html.erb (0.0ms)
2672
+ Completed 200 OK in 0ms (Views: 0.4ms)
2673
+ -----------------------------------------------------------------
2674
+ TemplateAssertionsControllerTest: test_passes_with_correct_string
2675
+ -----------------------------------------------------------------
2676
+ Processing by TemplateAssertionsController#render_with_template as HTML
2677
+ Rendering test/hello_world.html.erb
2678
+ Rendered test/hello_world.html.erb (0.0ms)
2679
+ Completed 200 OK in 1ms (Views: 0.5ms)
2680
+ --------------------------------------------------------------
2681
+ TemplateAssertionsControllerTest: test_fails_with_wrong_layout
2682
+ --------------------------------------------------------------
2683
+ Processing by TemplateAssertionsController#render_with_layout as HTML
2684
+ Rendering test/hello_world.html.erb within layouts/standard
2685
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
2686
+ Completed 200 OK in 0ms (Views: 0.4ms)
2687
+ ----------------------------------------------------------------------------
2688
+ TemplateAssertionsControllerTest: test_with_nil_fails_when_template_rendered
2689
+ ----------------------------------------------------------------------------
2690
+ Processing by TemplateAssertionsController#render_with_template as HTML
2691
+ Rendering test/hello_world.html.erb
2692
+ Rendered test/hello_world.html.erb (0.0ms)
2693
+ Completed 200 OK in 0ms (Views: 0.4ms)
2694
+ -----------------------------------------------------------------------
2695
+ TemplateAssertionsControllerTest: test_fails_expecting_not_known_layout
2696
+ -----------------------------------------------------------------------
2697
+ Processing by TemplateAssertionsController#render_with_layout as HTML
2698
+ Rendering test/hello_world.html.erb within layouts/standard
2699
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
2700
+ Completed 200 OK in 1ms (Views: 0.5ms)
2701
+ ----------------------------------------------------------------------
2702
+ TemplateAssertionsIntegrationTest: test_partial_reset_between_requests
2703
+ ----------------------------------------------------------------------
2704
+ Started GET "/template_assertions/render_with_partial" for 127.0.0.1 at 2016-08-25 04:43:38 -0300
2705
+ Processing by TemplateAssertionsController#render_with_partial as HTML
2706
+ Rendered test/_partial.html.erb (0.3ms)
2707
+ Completed 200 OK in 2ms (Views: 1.7ms)
2708
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:43:38 -0300
2709
+ Processing by TemplateAssertionsController#render_nothing as HTML
2710
+ Completed 200 OK in 0ms
2711
+ -------------------------------------------------------------------------------
2712
+ TemplateAssertionsIntegrationTest: test_assigns_do_not_reset_template_assertion
2713
+ -------------------------------------------------------------------------------
2714
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2016-08-25 04:43:38 -0300
2715
+ Processing by TemplateAssertionsController#render_with_layout as HTML
2716
+ Rendering test/hello_world.html.erb within layouts/standard
2717
+ Rendered test/hello_world.html.erb within layouts/standard (0.3ms)
2718
+ Completed 200 OK in 3ms (Views: 3.1ms)
2719
+ ---------------------------------------------------------------------------------------------
2720
+ TemplateAssertionsIntegrationTest: test_partial_reset_between_requests_when_opening_a_session
2721
+ ---------------------------------------------------------------------------------------------
2722
+ Started GET "/template_assertions/render_with_partial" for 127.0.0.1 at 2016-08-25 04:43:38 -0300
2723
+ Processing by TemplateAssertionsController#render_with_partial as HTML
2724
+ Rendered test/_partial.html.erb (0.3ms)
2725
+ Completed 200 OK in 2ms (Views: 1.6ms)
2726
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:43:38 -0300
2727
+ Processing by TemplateAssertionsController#render_nothing as HTML
2728
+ Completed 200 OK in 0ms
2729
+ -------------------------------------------------------------------
2730
+ TemplateAssertionsIntegrationTest: test_file_reset_between_requests
2731
+ -------------------------------------------------------------------
2732
+ Started GET "/template_assertions/render_file_relative_path" for 127.0.0.1 at 2016-08-25 04:43:38 -0300
2733
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
2734
+ Rendering README.rdoc
2735
+ Rendered README.rdoc (0.3ms)
2736
+ Completed 200 OK in 6ms (Views: 5.5ms)
2737
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:43:38 -0300
2738
+ Processing by TemplateAssertionsController#render_nothing as HTML
2739
+ Completed 200 OK in 0ms
2740
+ ----------------------------------------------------------------------------------------------
2741
+ TemplateAssertionsIntegrationTest: test_template_reset_between_requests_when_opening_a_session
2742
+ ----------------------------------------------------------------------------------------------
2743
+ Started GET "/template_assertions/render_with_template" for 127.0.0.1 at 2016-08-25 04:43:38 -0300
2744
+ Processing by TemplateAssertionsController#render_with_template as HTML
2745
+ Rendering test/hello_world.html.erb
2746
+ Rendered test/hello_world.html.erb (0.3ms)
2747
+ Completed 200 OK in 4ms (Views: 4.0ms)
2748
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:43:38 -0300
2749
+ Processing by TemplateAssertionsController#render_nothing as HTML
2750
+ Completed 200 OK in 0ms
2751
+ ------------------------------------------------------------------------------------------
2752
+ TemplateAssertionsIntegrationTest: test_file_reset_between_requests_when_opening_a_session
2753
+ ------------------------------------------------------------------------------------------
2754
+ Started GET "/template_assertions/render_file_relative_path" for 127.0.0.1 at 2016-08-25 04:43:38 -0300
2755
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
2756
+ Rendering README.rdoc
2757
+ Rendered README.rdoc (0.3ms)
2758
+ Completed 200 OK in 6ms (Views: 6.1ms)
2759
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:43:38 -0300
2760
+ Processing by TemplateAssertionsController#render_nothing as HTML
2761
+ Completed 200 OK in 0ms
2762
+ -------------------------------------------------------------------------------
2763
+ TemplateAssertionsIntegrationTest: test_cookies_do_not_reset_template_assertion
2764
+ -------------------------------------------------------------------------------
2765
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2016-08-25 04:43:38 -0300
2766
+ Processing by TemplateAssertionsController#render_with_layout as HTML
2767
+ Rendering test/hello_world.html.erb within layouts/standard
2768
+ Rendered test/hello_world.html.erb within layouts/standard (0.3ms)
2769
+ Completed 200 OK in 3ms (Views: 3.2ms)
2770
+ --------------------------------------------------------------------------------------------
2771
+ TemplateAssertionsIntegrationTest: test_layout_reset_between_requests_when_opening_a_session
2772
+ --------------------------------------------------------------------------------------------
2773
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2016-08-25 04:43:38 -0300
2774
+ Processing by TemplateAssertionsController#render_with_layout as HTML
2775
+ Rendering test/hello_world.html.erb within layouts/standard
2776
+ Rendered test/hello_world.html.erb within layouts/standard (0.3ms)
2777
+ Completed 200 OK in 3ms (Views: 3.1ms)
2778
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:43:38 -0300
2779
+ Processing by TemplateAssertionsController#render_nothing as HTML
2780
+ Completed 200 OK in 0ms
2781
+ -----------------------------------------------------------------------
2782
+ TemplateAssertionsIntegrationTest: test_template_reset_between_requests
2783
+ -----------------------------------------------------------------------
2784
+ Started GET "/template_assertions/render_with_template" for 127.0.0.1 at 2016-08-25 04:43:38 -0300
2785
+ Processing by TemplateAssertionsController#render_with_template as HTML
2786
+ Rendering test/hello_world.html.erb
2787
+ Rendered test/hello_world.html.erb (0.3ms)
2788
+ Completed 200 OK in 3ms (Views: 3.4ms)
2789
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:43:38 -0300
2790
+ Processing by TemplateAssertionsController#render_nothing as HTML
2791
+ Completed 200 OK in 0ms
2792
+ ---------------------------------------------------------------------
2793
+ TemplateAssertionsIntegrationTest: test_layout_reset_between_requests
2794
+ ---------------------------------------------------------------------
2795
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2016-08-25 04:43:38 -0300
2796
+ Processing by TemplateAssertionsController#render_with_layout as HTML
2797
+ Rendering test/hello_world.html.erb within layouts/standard
2798
+ Rendered test/hello_world.html.erb within layouts/standard (0.3ms)
2799
+ Completed 200 OK in 3ms (Views: 2.9ms)
2800
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2016-08-25 04:43:38 -0300
2801
+ Processing by TemplateAssertionsController#render_nothing as HTML
2802
+ Completed 200 OK in 0ms
2803
+ ----------------------------------------
2804
+ AssignsControllerTest: test_view_assigns
2805
+ ----------------------------------------
2806
+ Processing by ViewAssignsController#test_assigns as HTML
2807
+ Completed 200 OK in 0ms
2808
+ -----------------------------------
2809
+ AssignsControllerTest: test_assigns
2810
+ -----------------------------------
2811
+ Processing by AssignsController#test_assigns as HTML
2812
+ Completed 200 OK in 0ms
2813
+ -----------------------------------------------------------------
2814
+ TemplateAssertionsControllerTest: test_passes_with_correct_layout
2815
+ -----------------------------------------------------------------
2816
+ Processing by TemplateAssertionsController#render_with_layout as HTML
2817
+ Rendering test/hello_world.html.erb within layouts/standard
2818
+ Rendered test/hello_world.html.erb within layouts/standard (1.0ms)
2819
+ Completed 200 OK in 7ms (Views: 7.3ms)
2820
+ ----------------------------------------------------------------------------------------
2821
+ TemplateAssertionsControllerTest: test_with_empty_string_fails_when_no_template_rendered
2822
+ ----------------------------------------------------------------------------------------
2823
+ Processing by TemplateAssertionsController#render_nothing as HTML
2824
+ Completed 200 OK in 0ms
2825
+ -----------------------------------------------------------------------
2826
+ TemplateAssertionsControllerTest: test_fails_with_repeated_name_in_path
2827
+ -----------------------------------------------------------------------
2828
+ Processing by TemplateAssertionsController#render_with_template_repeating_in_path as HTML
2829
+ Rendering test/hello/hello.html.erb
2830
+ Rendered test/hello/hello.html.erb (0.3ms)
2831
+ Completed 200 OK in 3ms (Views: 3.1ms)
2832
+ ------------------------------------------------------------------
2833
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_symbol
2834
+ ------------------------------------------------------------------
2835
+ Processing by TemplateAssertionsController#render_with_template as HTML
2836
+ Rendering test/hello_world.html.erb
2837
+ Rendered test/hello_world.html.erb (0.0ms)
2838
+ Completed 200 OK in 0ms (Views: 0.4ms)
2839
+ --------------------------------------------------------------------------------
2840
+ TemplateAssertionsControllerTest: test_with_nil_passes_when_no_template_rendered
2841
+ --------------------------------------------------------------------------------
2842
+ Processing by TemplateAssertionsController#render_nothing as HTML
2843
+ Completed 200 OK in 0ms
2844
+ -----------------------------------------------------------------------------
2845
+ TemplateAssertionsControllerTest: test_assert_template_reset_between_requests
2846
+ -----------------------------------------------------------------------------
2847
+ Processing by TemplateAssertionsController#render_with_template as HTML
2848
+ Rendering test/hello_world.html.erb
2849
+ Rendered test/hello_world.html.erb (0.0ms)
2850
+ Completed 200 OK in 0ms (Views: 0.4ms)
2851
+ Processing by TemplateAssertionsController#render_nothing as HTML
2852
+ Completed 200 OK in 0ms (Views: 0.4ms)
2853
+ Processing by TemplateAssertionsController#render_with_partial as HTML
2854
+ Rendered test/_partial.html.erb (0.3ms) [cache miss]
2855
+ Completed 200 OK in 3ms (Views: 2.5ms)
2856
+ Processing by TemplateAssertionsController#render_nothing as HTML
2857
+ Completed 200 OK in 0ms (Views: 2.5ms)
2858
+ Processing by TemplateAssertionsController#render_with_layout as HTML
2859
+ Rendering test/hello_world.html.erb within layouts/standard
2860
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
2861
+ Completed 200 OK in 0ms (Views: 0.3ms)
2862
+ Processing by TemplateAssertionsController#render_nothing as HTML
2863
+ Completed 200 OK in 0ms (Views: 0.3ms)
2864
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
2865
+ Rendering README.rdoc
2866
+ Rendered README.rdoc (0.3ms)
2867
+ Completed 200 OK in 5ms (Views: 4.8ms)
2868
+ Processing by TemplateAssertionsController#render_nothing as HTML
2869
+ Completed 200 OK in 0ms (Views: 4.8ms)
2870
+ ----------------------------------------------------------------------------
2871
+ TemplateAssertionsControllerTest: test_with_nil_fails_when_template_rendered
2872
+ ----------------------------------------------------------------------------
2873
+ Processing by TemplateAssertionsController#render_with_template as HTML
2874
+ Rendering test/hello_world.html.erb
2875
+ Rendered test/hello_world.html.erb (0.1ms)
2876
+ Completed 200 OK in 1ms (Views: 0.6ms)
2877
+ ----------------------------------------------------------------------------------------
2878
+ TemplateAssertionsControllerTest: test_passes_with_correct_layout_without_layouts_prefix
2879
+ ----------------------------------------------------------------------------------------
2880
+ Processing by TemplateAssertionsController#render_with_layout as HTML
2881
+ Rendering test/hello_world.html.erb within layouts/standard
2882
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
2883
+ Completed 200 OK in 0ms (Views: 0.4ms)
2884
+ -----------------------------------------------------------------------------------
2885
+ TemplateAssertionsControllerTest: test_with_invalid_hash_keys_raises_argument_error
2886
+ -----------------------------------------------------------------------------------
2887
+ -----------------------------------------------------------------
2888
+ TemplateAssertionsControllerTest: test_passes_with_correct_symbol
2889
+ -----------------------------------------------------------------
2890
+ Processing by TemplateAssertionsController#render_with_template as HTML
2891
+ Rendering test/hello_world.html.erb
2892
+ Rendered test/hello_world.html.erb (0.1ms)
2893
+ Completed 200 OK in 1ms (Views: 1.1ms)
2894
+ --------------------------------------------------------------
2895
+ TemplateAssertionsControllerTest: test_fails_with_wrong_layout
2896
+ --------------------------------------------------------------
2897
+ Processing by TemplateAssertionsController#render_with_layout as HTML
2898
+ Rendering test/hello_world.html.erb within layouts/standard
2899
+ Rendered test/hello_world.html.erb within layouts/standard (0.1ms)
2900
+ Completed 200 OK in 1ms (Views: 1.3ms)
2901
+ --------------------------------------------------------
2902
+ TemplateAssertionsControllerTest: test_with_file_failure
2903
+ --------------------------------------------------------
2904
+ Processing by TemplateAssertionsController#render_file_absolute_path as HTML
2905
+ Rendering README.rdoc
2906
+ Rendered README.rdoc (0.3ms)
2907
+ Completed 200 OK in 6ms (Views: 5.4ms)
2908
+ Processing by TemplateAssertionsController#render_file_absolute_path as HTML
2909
+ Rendering README.rdoc
2910
+ Rendered README.rdoc (0.0ms)
2911
+ Completed 200 OK in 0ms (Views: 0.3ms)
2912
+ ------------------------------------------------------------------------
2913
+ TemplateAssertionsControllerTest: test_passes_with_correct_layout_symbol
2914
+ ------------------------------------------------------------------------
2915
+ Processing by TemplateAssertionsController#render_with_layout as HTML
2916
+ Rendering test/hello_world.html.erb within layouts/standard
2917
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
2918
+ Completed 200 OK in 0ms (Views: 0.4ms)
2919
+ ------------------------------------------------------------------
2920
+ TemplateAssertionsControllerTest: test_passed_with_no_layout_false
2921
+ ------------------------------------------------------------------
2922
+ Processing by TemplateAssertionsController#render_with_template as HTML
2923
+ Rendering test/hello_world.html.erb
2924
+ Rendered test/hello_world.html.erb (0.1ms)
2925
+ Completed 200 OK in 0ms (Views: 0.4ms)
2926
+ ------------------------------------------------------------------
2927
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_string
2928
+ ------------------------------------------------------------------
2929
+ Processing by TemplateAssertionsController#render_with_template as HTML
2930
+ Rendering test/hello_world.html.erb
2931
+ Rendered test/hello_world.html.erb (0.0ms)
2932
+ Completed 200 OK in 0ms (Views: 0.4ms)
2933
+ -------------------------------------------------------------------------------
2934
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_symbol_that_matches
2935
+ -------------------------------------------------------------------------------
2936
+ Processing by TemplateAssertionsController#render_with_template as HTML
2937
+ Rendering test/hello_world.html.erb
2938
+ Rendered test/hello_world.html.erb (0.0ms)
2939
+ Completed 200 OK in 0ms (Views: 0.3ms)
2940
+ -------------------------------------------------------------------------------
2941
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_string_that_matches
2942
+ -------------------------------------------------------------------------------
2943
+ Processing by TemplateAssertionsController#render_with_template as HTML
2944
+ Rendering test/hello_world.html.erb
2945
+ Rendered test/hello_world.html.erb (0.0ms)
2946
+ Completed 200 OK in 0ms (Views: 0.4ms)
2947
+ ----------------------------------------------------------------------
2948
+ TemplateAssertionsControllerTest: test_file_with_relative_path_success
2949
+ ----------------------------------------------------------------------
2950
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
2951
+ Rendering README.rdoc
2952
+ Rendered README.rdoc (0.0ms)
2953
+ Completed 200 OK in 0ms (Views: 0.4ms)
2954
+ -----------------------------------------------------------------------
2955
+ TemplateAssertionsControllerTest: test_fails_expecting_not_known_layout
2956
+ -----------------------------------------------------------------------
2957
+ Processing by TemplateAssertionsController#render_with_layout as HTML
2958
+ Rendering test/hello_world.html.erb within layouts/standard
2959
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
2960
+ Completed 200 OK in 0ms (Views: 0.4ms)
2961
+ ----------------------------------------------------------------------------------------
2962
+ TemplateAssertionsControllerTest: test_locals_option_to_assert_template_is_not_supported
2963
+ ----------------------------------------------------------------------------------------
2964
+ Processing by TemplateAssertionsController#render_nothing as HTML
2965
+ Completed 200 OK in 0ms
2966
+ ---------------------------------------------------------------------
2967
+ TemplateAssertionsControllerTest: test_passes_with_layout_and_partial
2968
+ ---------------------------------------------------------------------
2969
+ Processing by TemplateAssertionsController#render_with_layout_and_partial as HTML
2970
+ Rendering test/hello_world_with_partial.html.erb within layouts/standard
2971
+ Rendered test/_partial.html.erb (0.0ms) [cache miss]
2972
+ Rendered test/hello_world_with_partial.html.erb within layouts/standard (0.5ms)
2973
+ Completed 200 OK in 4ms (Views: 3.7ms)
2974
+ ----------------------------------------------------------------
2975
+ TemplateAssertionsControllerTest: test_fails_expecting_no_layout
2976
+ ----------------------------------------------------------------
2977
+ Processing by TemplateAssertionsController#render_with_layout as HTML
2978
+ Rendering test/hello_world.html.erb within layouts/standard
2979
+ Rendered test/hello_world.html.erb within layouts/standard (0.1ms)
2980
+ Completed 200 OK in 0ms (Views: 0.4ms)
2981
+ -------------------------------------------------------------------------------------
2982
+ TemplateAssertionsControllerTest: test_with_empty_string_fails_when_template_rendered
2983
+ -------------------------------------------------------------------------------------
2984
+ Processing by TemplateAssertionsController#render_with_template as HTML
2985
+ Rendering test/hello_world.html.erb
2986
+ Rendered test/hello_world.html.erb (0.0ms)
2987
+ Completed 200 OK in 1ms (Views: 0.4ms)
2988
+ ----------------------------------------------------------------------
2989
+ TemplateAssertionsControllerTest: test_file_with_absolute_path_success
2990
+ ----------------------------------------------------------------------
2991
+ Processing by TemplateAssertionsController#render_file_absolute_path as HTML
2992
+ Rendering README.rdoc
2993
+ Rendered README.rdoc (0.0ms)
2994
+ Completed 200 OK in 1ms (Views: 0.4ms)
2995
+ ---------------------------------------------------
2996
+ TemplateAssertionsControllerTest: test_with_partial
2997
+ ---------------------------------------------------
2998
+ Processing by TemplateAssertionsController#render_with_partial as HTML
2999
+ Rendered test/_partial.html.erb (0.1ms) [cache miss]
3000
+ Completed 200 OK in 0ms (Views: 0.3ms)
3001
+ ------------------------------------------------------------
3002
+ TemplateAssertionsControllerTest: test_passed_with_no_layout
3003
+ ------------------------------------------------------------
3004
+ Processing by TemplateAssertionsController#render_with_template as HTML
3005
+ Rendering test/hello_world.html.erb
3006
+ Rendered test/hello_world.html.erb (0.0ms)
3007
+ Completed 200 OK in 0ms (Views: 0.4ms)
3008
+ -----------------------------------------------------------------
3009
+ TemplateAssertionsControllerTest: test_passes_with_correct_string
3010
+ -----------------------------------------------------------------
3011
+ Processing by TemplateAssertionsController#render_with_template as HTML
3012
+ Rendering test/hello_world.html.erb
3013
+ Rendered test/hello_world.html.erb (0.1ms)
3014
+ Completed 200 OK in 0ms (Views: 0.5ms)
3015
+ -----------------------------------------------------------------------
3016
+ TemplateAssertionsIntegrationTest: test_template_reset_between_requests
3017
+ -----------------------------------------------------------------------
3018
+ Started GET "/template_assertions/render_with_template" for 127.0.0.1 at 2017-05-16 21:31:44 -0400
3019
+ Processing by TemplateAssertionsController#render_with_template as HTML
3020
+ Rendering test/hello_world.html.erb
3021
+ Rendered test/hello_world.html.erb (0.0ms)
3022
+ Completed 200 OK in 0ms (Views: 0.3ms)
3023
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2017-05-16 21:31:44 -0400
3024
+ Processing by TemplateAssertionsController#render_nothing as HTML
3025
+ Completed 200 OK in 0ms
3026
+ ------------------------------------------------------------------------------------------
3027
+ TemplateAssertionsIntegrationTest: test_file_reset_between_requests_when_opening_a_session
3028
+ ------------------------------------------------------------------------------------------
3029
+ Started GET "/template_assertions/render_file_relative_path" for 127.0.0.1 at 2017-05-16 21:31:44 -0400
3030
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
3031
+ Rendering README.rdoc
3032
+ Rendered README.rdoc (0.1ms)
3033
+ Completed 200 OK in 1ms (Views: 0.5ms)
3034
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2017-05-16 21:31:44 -0400
3035
+ Processing by TemplateAssertionsController#render_nothing as HTML
3036
+ Completed 200 OK in 0ms
3037
+ ----------------------------------------------------------------------------------------------
3038
+ TemplateAssertionsIntegrationTest: test_template_reset_between_requests_when_opening_a_session
3039
+ ----------------------------------------------------------------------------------------------
3040
+ Started GET "/template_assertions/render_with_template" for 127.0.0.1 at 2017-05-16 21:31:44 -0400
3041
+ Processing by TemplateAssertionsController#render_with_template as HTML
3042
+ Rendering test/hello_world.html.erb
3043
+ Rendered test/hello_world.html.erb (0.0ms)
3044
+ Completed 200 OK in 1ms (Views: 0.5ms)
3045
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2017-05-16 21:31:44 -0400
3046
+ Processing by TemplateAssertionsController#render_nothing as HTML
3047
+ Completed 200 OK in 0ms
3048
+ ---------------------------------------------------------------------
3049
+ TemplateAssertionsIntegrationTest: test_layout_reset_between_requests
3050
+ ---------------------------------------------------------------------
3051
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2017-05-16 21:31:44 -0400
3052
+ Processing by TemplateAssertionsController#render_with_layout as HTML
3053
+ Rendering test/hello_world.html.erb within layouts/standard
3054
+ Rendered test/hello_world.html.erb within layouts/standard (0.1ms)
3055
+ Completed 200 OK in 0ms (Views: 0.4ms)
3056
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2017-05-16 21:31:44 -0400
3057
+ Processing by TemplateAssertionsController#render_nothing as HTML
3058
+ Completed 200 OK in 0ms
3059
+ -------------------------------------------------------------------
3060
+ TemplateAssertionsIntegrationTest: test_file_reset_between_requests
3061
+ -------------------------------------------------------------------
3062
+ Started GET "/template_assertions/render_file_relative_path" for 127.0.0.1 at 2017-05-16 21:31:44 -0400
3063
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
3064
+ Rendering README.rdoc
3065
+ Rendered README.rdoc (0.1ms)
3066
+ Completed 200 OK in 0ms (Views: 0.5ms)
3067
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2017-05-16 21:31:44 -0400
3068
+ Processing by TemplateAssertionsController#render_nothing as HTML
3069
+ Completed 200 OK in 0ms
3070
+ -------------------------------------------------------------------------------
3071
+ TemplateAssertionsIntegrationTest: test_assigns_do_not_reset_template_assertion
3072
+ -------------------------------------------------------------------------------
3073
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2017-05-16 21:31:44 -0400
3074
+ Processing by TemplateAssertionsController#render_with_layout as HTML
3075
+ Rendering test/hello_world.html.erb within layouts/standard
3076
+ Rendered test/hello_world.html.erb within layouts/standard (0.2ms)
3077
+ Completed 200 OK in 1ms (Views: 0.7ms)
3078
+ ----------------------------------------------------------------------
3079
+ TemplateAssertionsIntegrationTest: test_partial_reset_between_requests
3080
+ ----------------------------------------------------------------------
3081
+ Started GET "/template_assertions/render_with_partial" for 127.0.0.1 at 2017-05-16 21:31:44 -0400
3082
+ Processing by TemplateAssertionsController#render_with_partial as HTML
3083
+ Rendered test/_partial.html.erb (0.1ms) [cache miss]
3084
+ Completed 200 OK in 0ms (Views: 0.3ms)
3085
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2017-05-16 21:31:44 -0400
3086
+ Processing by TemplateAssertionsController#render_nothing as HTML
3087
+ Completed 200 OK in 0ms
3088
+ ---------------------------------------------------------------------------------------------
3089
+ TemplateAssertionsIntegrationTest: test_partial_reset_between_requests_when_opening_a_session
3090
+ ---------------------------------------------------------------------------------------------
3091
+ Started GET "/template_assertions/render_with_partial" for 127.0.0.1 at 2017-05-16 21:31:44 -0400
3092
+ Processing by TemplateAssertionsController#render_with_partial as HTML
3093
+ Rendered test/_partial.html.erb (0.1ms) [cache miss]
3094
+ Completed 200 OK in 0ms (Views: 0.3ms)
3095
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2017-05-16 21:31:44 -0400
3096
+ Processing by TemplateAssertionsController#render_nothing as HTML
3097
+ Completed 200 OK in 0ms
3098
+ -------------------------------------------------------------------------------
3099
+ TemplateAssertionsIntegrationTest: test_cookies_do_not_reset_template_assertion
3100
+ -------------------------------------------------------------------------------
3101
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2017-05-16 21:31:44 -0400
3102
+ Processing by TemplateAssertionsController#render_with_layout as HTML
3103
+ Rendering test/hello_world.html.erb within layouts/standard
3104
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
3105
+ Completed 200 OK in 0ms (Views: 0.4ms)
3106
+ --------------------------------------------------------------------------------------------
3107
+ TemplateAssertionsIntegrationTest: test_layout_reset_between_requests_when_opening_a_session
3108
+ --------------------------------------------------------------------------------------------
3109
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2017-05-16 21:31:44 -0400
3110
+ Processing by TemplateAssertionsController#render_with_layout as HTML
3111
+ Rendering test/hello_world.html.erb within layouts/standard
3112
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
3113
+ Completed 200 OK in 0ms (Views: 0.4ms)
3114
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2017-05-16 21:31:44 -0400
3115
+ Processing by TemplateAssertionsController#render_nothing as HTML
3116
+ Completed 200 OK in 0ms
3117
+ -------------------------------------------------------------
3118
+ RenderTemplateTest: test_supports_specifying_locals_(passing)
3119
+ -------------------------------------------------------------
3120
+ Rendering test/calling_partial_with_layout.html.erb
3121
+ Rendered test/_partial_for_use_in_layout.html.erb (12.1ms) [cache miss]
3122
+ Rendered test/calling_partial_with_layout.html.erb (26.7ms)
3123
+ ----------------------------------------------------------------------
3124
+ RenderTemplateTest: test_supports_different_locals_on_the_same_partial
3125
+ ----------------------------------------------------------------------
3126
+ Rendering test/render_two_partials.html.erb
3127
+ Rendered test/_partial.html.erb (0.3ms) [cache miss]
3128
+ Rendered test/_partial.html.erb (0.5ms) [cache miss]
3129
+ Rendered test/render_two_partials.html.erb (23.6ms)
3130
+ --------------------------------------------------------------------
3131
+ RenderTemplateTest: test_supports_specifying_templates_with_a_Regexp
3132
+ --------------------------------------------------------------------
3133
+ Rendering test/hello_world.html.erb
3134
+ Rendered test/hello_world.html.erb (0.3ms)
3135
+ -------------------------------------------------------------
3136
+ RenderTemplateTest: test_supports_specifying_locals_(failing)
3137
+ -------------------------------------------------------------
3138
+ Rendering test/calling_partial_with_layout.html.erb
3139
+ Rendered test/_partial_for_use_in_layout.html.erb (0.1ms) [cache miss]
3140
+ Rendered test/calling_partial_with_layout.html.erb (0.2ms)
3141
+ -------------------------------------------------------------------------------------------------------------
3142
+ RenderTemplateTest: test_specifying_locals_works_when_the_partial_is_inside_a_directory_with_underline_prefix
3143
+ -------------------------------------------------------------------------------------------------------------
3144
+ Rendering test/render_partial_inside_directory.html.erb
3145
+ Rendered test/_directory/_partial_with_locales.html.erb (0.4ms) [cache miss]
3146
+ Rendered test/render_partial_inside_directory.html.erb (13.9ms)
3147
+ -----------------------------------------------------
3148
+ RenderTemplateTest: test_supports_specifying_partials
3149
+ -----------------------------------------------------
3150
+ Rendering test/calling_partial_with_layout.html.erb
3151
+ Rendered test/_partial_for_use_in_layout.html.erb (0.1ms) [cache miss]
3152
+ Rendered test/calling_partial_with_layout.html.erb (0.4ms)
3153
+ ----------------------------------------------------------------------------------------------------------------
3154
+ RenderTemplateTest: test_specifying_locals_works_when_the_partial_is_inside_a_directory_without_underline_prefix
3155
+ ----------------------------------------------------------------------------------------------------------------
3156
+ Rendering test/render_partial_inside_directory.html.erb
3157
+ Rendered test/_directory/_partial_with_locales.html.erb (0.0ms) [cache miss]
3158
+ Rendered test/render_partial_inside_directory.html.erb (0.2ms)
3159
+ ----------------------------------------------------------------------------------------
3160
+ RenderTemplateTest: test_raises_descriptive_error_message_when_template_was_not_rendered
3161
+ ----------------------------------------------------------------------------------------
3162
+ Rendering test/hello_world_with_partial.html.erb
3163
+ Rendered test/_partial.html.erb (0.5ms) [cache miss]
3164
+ Rendered test/hello_world_with_partial.html.erb (10.8ms)
3165
+ -----------------------------------
3166
+ AssignsControllerTest: test_assigns
3167
+ -----------------------------------
3168
+ Processing by AssignsController#test_assigns as HTML
3169
+ Completed 200 OK in 0ms
3170
+ ----------------------------------------
3171
+ AssignsControllerTest: test_view_assigns
3172
+ ----------------------------------------
3173
+ Processing by ViewAssignsController#test_assigns as HTML
3174
+ Completed 200 OK in 0ms
3175
+ -----------------------------------
3176
+ AssignsControllerTest: test_assigns
3177
+ -----------------------------------
3178
+ Processing by AssignsController#test_assigns as HTML
3179
+ Completed 200 OK in 0ms
3180
+ ----------------------------------------
3181
+ AssignsControllerTest: test_view_assigns
3182
+ ----------------------------------------
3183
+ Processing by ViewAssignsController#test_assigns as HTML
3184
+ Completed 200 OK in 0ms
3185
+ -------------------------------------------------------------
3186
+ RenderTemplateTest: test_supports_specifying_locals_(failing)
3187
+ -------------------------------------------------------------
3188
+ Rendering test/calling_partial_with_layout.html.erb
3189
+ Rendered test/_partial_for_use_in_layout.html.erb (20.7ms) [cache miss]
3190
+ Rendered test/calling_partial_with_layout.html.erb (40.2ms)
3191
+ ----------------------------------------------------------------------------------------
3192
+ RenderTemplateTest: test_raises_descriptive_error_message_when_template_was_not_rendered
3193
+ ----------------------------------------------------------------------------------------
3194
+ Rendering test/hello_world_with_partial.html.erb
3195
+ Rendered test/_partial.html.erb (0.3ms) [cache miss]
3196
+ Rendered test/hello_world_with_partial.html.erb (11.8ms)
3197
+ ----------------------------------------------------------------------
3198
+ RenderTemplateTest: test_supports_different_locals_on_the_same_partial
3199
+ ----------------------------------------------------------------------
3200
+ Rendering test/render_two_partials.html.erb
3201
+ Rendered test/_partial.html.erb (0.3ms) [cache miss]
3202
+ Rendered test/_partial.html.erb (0.9ms) [cache miss]
3203
+ Rendered test/render_two_partials.html.erb (25.3ms)
3204
+ -----------------------------------------------------
3205
+ RenderTemplateTest: test_supports_specifying_partials
3206
+ -----------------------------------------------------
3207
+ Rendering test/calling_partial_with_layout.html.erb
3208
+ Rendered test/_partial_for_use_in_layout.html.erb (0.2ms) [cache miss]
3209
+ Rendered test/calling_partial_with_layout.html.erb (0.4ms)
3210
+ --------------------------------------------------------------------
3211
+ RenderTemplateTest: test_supports_specifying_templates_with_a_Regexp
3212
+ --------------------------------------------------------------------
3213
+ Rendering test/hello_world.html.erb
3214
+ Rendered test/hello_world.html.erb (0.3ms)
3215
+ -------------------------------------------------------------------------------------------------------------
3216
+ RenderTemplateTest: test_specifying_locals_works_when_the_partial_is_inside_a_directory_with_underline_prefix
3217
+ -------------------------------------------------------------------------------------------------------------
3218
+ Rendering test/render_partial_inside_directory.html.erb
3219
+ Rendered test/_directory/_partial_with_locales.html.erb (0.5ms) [cache miss]
3220
+ Rendered test/render_partial_inside_directory.html.erb (13.0ms)
3221
+ -------------------------------------------------------------
3222
+ RenderTemplateTest: test_supports_specifying_locals_(passing)
3223
+ -------------------------------------------------------------
3224
+ Rendering test/calling_partial_with_layout.html.erb
3225
+ Rendered test/_partial_for_use_in_layout.html.erb (0.1ms) [cache miss]
3226
+ Rendered test/calling_partial_with_layout.html.erb (0.5ms)
3227
+ ----------------------------------------------------------------------------------------------------------------
3228
+ RenderTemplateTest: test_specifying_locals_works_when_the_partial_is_inside_a_directory_without_underline_prefix
3229
+ ----------------------------------------------------------------------------------------------------------------
3230
+ Rendering test/render_partial_inside_directory.html.erb
3231
+ Rendered test/_directory/_partial_with_locales.html.erb (0.0ms) [cache miss]
3232
+ Rendered test/render_partial_inside_directory.html.erb (0.3ms)
3233
+ -----------------------------------------------------------------------
3234
+ TemplateAssertionsControllerTest: test_fails_expecting_not_known_layout
3235
+ -----------------------------------------------------------------------
3236
+ Processing by TemplateAssertionsController#render_with_layout as HTML
3237
+ Rendering test/hello_world.html.erb within layouts/standard
3238
+ Rendered test/hello_world.html.erb within layouts/standard (0.3ms)
3239
+ Completed 200 OK in 4ms (Views: 3.5ms)
3240
+ ----------------------------------------------------------------------------------------
3241
+ TemplateAssertionsControllerTest: test_locals_option_to_assert_template_is_not_supported
3242
+ ----------------------------------------------------------------------------------------
3243
+ Processing by TemplateAssertionsController#render_nothing as HTML
3244
+ Completed 200 OK in 0ms
3245
+ -------------------------------------------------------------------------------
3246
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_string_that_matches
3247
+ -------------------------------------------------------------------------------
3248
+ Processing by TemplateAssertionsController#render_with_template as HTML
3249
+ Rendering test/hello_world.html.erb
3250
+ Rendered test/hello_world.html.erb (0.0ms)
3251
+ Completed 200 OK in 2ms (Views: 2.0ms)
3252
+ ---------------------------------------------------------------------
3253
+ TemplateAssertionsControllerTest: test_passes_with_layout_and_partial
3254
+ ---------------------------------------------------------------------
3255
+ Processing by TemplateAssertionsController#render_with_layout_and_partial as HTML
3256
+ Rendering test/hello_world_with_partial.html.erb within layouts/standard
3257
+ Rendered test/_partial.html.erb (0.2ms) [cache miss]
3258
+ Rendered test/hello_world_with_partial.html.erb within layouts/standard (1.7ms)
3259
+ Completed 200 OK in 6ms (Views: 5.7ms)
3260
+ -----------------------------------------------------------------------------
3261
+ TemplateAssertionsControllerTest: test_assert_template_reset_between_requests
3262
+ -----------------------------------------------------------------------------
3263
+ Processing by TemplateAssertionsController#render_with_template as HTML
3264
+ Rendering test/hello_world.html.erb
3265
+ Rendered test/hello_world.html.erb (0.0ms)
3266
+ Completed 200 OK in 0ms (Views: 0.3ms)
3267
+ Processing by TemplateAssertionsController#render_nothing as HTML
3268
+ Completed 200 OK in 0ms (Views: 0.3ms)
3269
+ Processing by TemplateAssertionsController#render_with_partial as HTML
3270
+ Rendered test/_partial.html.erb (0.0ms) [cache miss]
3271
+ Completed 200 OK in 0ms (Views: 0.3ms)
3272
+ Processing by TemplateAssertionsController#render_nothing as HTML
3273
+ Completed 200 OK in 0ms (Views: 0.3ms)
3274
+ Processing by TemplateAssertionsController#render_with_layout as HTML
3275
+ Rendering test/hello_world.html.erb within layouts/standard
3276
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
3277
+ Completed 200 OK in 1ms (Views: 0.5ms)
3278
+ Processing by TemplateAssertionsController#render_nothing as HTML
3279
+ Completed 200 OK in 0ms (Views: 0.5ms)
3280
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
3281
+ Rendering README.rdoc
3282
+ Rendered README.rdoc (0.3ms)
3283
+ Completed 200 OK in 3ms (Views: 2.8ms)
3284
+ Processing by TemplateAssertionsController#render_nothing as HTML
3285
+ Completed 200 OK in 0ms (Views: 2.8ms)
3286
+ ----------------------------------------------------------------------------------------
3287
+ TemplateAssertionsControllerTest: test_with_empty_string_fails_when_no_template_rendered
3288
+ ----------------------------------------------------------------------------------------
3289
+ Processing by TemplateAssertionsController#render_nothing as HTML
3290
+ Completed 200 OK in 0ms
3291
+ ------------------------------------------------------------------------
3292
+ TemplateAssertionsControllerTest: test_passes_with_correct_layout_symbol
3293
+ ------------------------------------------------------------------------
3294
+ Processing by TemplateAssertionsController#render_with_layout as HTML
3295
+ Rendering test/hello_world.html.erb within layouts/standard
3296
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
3297
+ Completed 200 OK in 0ms (Views: 0.4ms)
3298
+ -----------------------------------------------------------------------
3299
+ TemplateAssertionsControllerTest: test_fails_with_repeated_name_in_path
3300
+ -----------------------------------------------------------------------
3301
+ Processing by TemplateAssertionsController#render_with_template_repeating_in_path as HTML
3302
+ Rendering test/hello/hello.html.erb
3303
+ Rendered test/hello/hello.html.erb (0.3ms)
3304
+ Completed 200 OK in 2ms (Views: 1.6ms)
3305
+ --------------------------------------------------------
3306
+ TemplateAssertionsControllerTest: test_with_file_failure
3307
+ --------------------------------------------------------
3308
+ Processing by TemplateAssertionsController#render_file_absolute_path as HTML
3309
+ Rendering README.rdoc
3310
+ Rendered README.rdoc (0.3ms)
3311
+ Completed 200 OK in 5ms (Views: 5.3ms)
3312
+ Processing by TemplateAssertionsController#render_file_absolute_path as HTML
3313
+ Rendering README.rdoc
3314
+ Rendered README.rdoc (0.1ms)
3315
+ Completed 200 OK in 1ms (Views: 1.1ms)
3316
+ ------------------------------------------------------------------
3317
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_symbol
3318
+ ------------------------------------------------------------------
3319
+ Processing by TemplateAssertionsController#render_with_template as HTML
3320
+ Rendering test/hello_world.html.erb
3321
+ Rendered test/hello_world.html.erb (0.0ms)
3322
+ Completed 200 OK in 1ms (Views: 0.5ms)
3323
+ --------------------------------------------------------------------------------
3324
+ TemplateAssertionsControllerTest: test_with_nil_passes_when_no_template_rendered
3325
+ --------------------------------------------------------------------------------
3326
+ Processing by TemplateAssertionsController#render_nothing as HTML
3327
+ Completed 200 OK in 0ms
3328
+ -----------------------------------------------------------------
3329
+ TemplateAssertionsControllerTest: test_passes_with_correct_string
3330
+ -----------------------------------------------------------------
3331
+ Processing by TemplateAssertionsController#render_with_template as HTML
3332
+ Rendering test/hello_world.html.erb
3333
+ Rendered test/hello_world.html.erb (0.0ms)
3334
+ Completed 200 OK in 0ms (Views: 0.3ms)
3335
+ ----------------------------------------------------------------------
3336
+ TemplateAssertionsControllerTest: test_file_with_relative_path_success
3337
+ ----------------------------------------------------------------------
3338
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
3339
+ Rendering README.rdoc
3340
+ Rendered README.rdoc (0.1ms)
3341
+ Completed 200 OK in 0ms (Views: 0.4ms)
3342
+ -------------------------------------------------------------------------------
3343
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_symbol_that_matches
3344
+ -------------------------------------------------------------------------------
3345
+ Processing by TemplateAssertionsController#render_with_template as HTML
3346
+ Rendering test/hello_world.html.erb
3347
+ Rendered test/hello_world.html.erb (0.0ms)
3348
+ Completed 200 OK in 0ms (Views: 0.3ms)
3349
+ ----------------------------------------------------------------------------
3350
+ TemplateAssertionsControllerTest: test_with_nil_fails_when_template_rendered
3351
+ ----------------------------------------------------------------------------
3352
+ Processing by TemplateAssertionsController#render_with_template as HTML
3353
+ Rendering test/hello_world.html.erb
3354
+ Rendered test/hello_world.html.erb (0.0ms)
3355
+ Completed 200 OK in 0ms (Views: 0.3ms)
3356
+ -----------------------------------------------------------------
3357
+ TemplateAssertionsControllerTest: test_passes_with_correct_layout
3358
+ -----------------------------------------------------------------
3359
+ Processing by TemplateAssertionsController#render_with_layout as HTML
3360
+ Rendering test/hello_world.html.erb within layouts/standard
3361
+ Rendered test/hello_world.html.erb within layouts/standard (0.1ms)
3362
+ Completed 200 OK in 1ms (Views: 0.6ms)
3363
+ ------------------------------------------------------------
3364
+ TemplateAssertionsControllerTest: test_passed_with_no_layout
3365
+ ------------------------------------------------------------
3366
+ Processing by TemplateAssertionsController#render_with_template as HTML
3367
+ Rendering test/hello_world.html.erb
3368
+ Rendered test/hello_world.html.erb (0.0ms)
3369
+ Completed 200 OK in 1ms (Views: 0.5ms)
3370
+ ----------------------------------------------------------------
3371
+ TemplateAssertionsControllerTest: test_fails_expecting_no_layout
3372
+ ----------------------------------------------------------------
3373
+ Processing by TemplateAssertionsController#render_with_layout as HTML
3374
+ Rendering test/hello_world.html.erb within layouts/standard
3375
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
3376
+ Completed 200 OK in 0ms (Views: 0.3ms)
3377
+ ---------------------------------------------------
3378
+ TemplateAssertionsControllerTest: test_with_partial
3379
+ ---------------------------------------------------
3380
+ Processing by TemplateAssertionsController#render_with_partial as HTML
3381
+ Rendered test/_partial.html.erb (0.1ms) [cache miss]
3382
+ Completed 200 OK in 1ms (Views: 0.5ms)
3383
+ ----------------------------------------------------------------------
3384
+ TemplateAssertionsControllerTest: test_file_with_absolute_path_success
3385
+ ----------------------------------------------------------------------
3386
+ Processing by TemplateAssertionsController#render_file_absolute_path as HTML
3387
+ Rendering README.rdoc
3388
+ Rendered README.rdoc (0.0ms)
3389
+ Completed 200 OK in 0ms (Views: 0.4ms)
3390
+ ----------------------------------------------------------------------------------------
3391
+ TemplateAssertionsControllerTest: test_passes_with_correct_layout_without_layouts_prefix
3392
+ ----------------------------------------------------------------------------------------
3393
+ Processing by TemplateAssertionsController#render_with_layout as HTML
3394
+ Rendering test/hello_world.html.erb within layouts/standard
3395
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
3396
+ Completed 200 OK in 0ms (Views: 0.3ms)
3397
+ -----------------------------------------------------------------------------------
3398
+ TemplateAssertionsControllerTest: test_with_invalid_hash_keys_raises_argument_error
3399
+ -----------------------------------------------------------------------------------
3400
+ -------------------------------------------------------------------------------------
3401
+ TemplateAssertionsControllerTest: test_with_empty_string_fails_when_template_rendered
3402
+ -------------------------------------------------------------------------------------
3403
+ Processing by TemplateAssertionsController#render_with_template as HTML
3404
+ Rendering test/hello_world.html.erb
3405
+ Rendered test/hello_world.html.erb (0.0ms)
3406
+ Completed 200 OK in 1ms (Views: 0.5ms)
3407
+ -----------------------------------------------------------------
3408
+ TemplateAssertionsControllerTest: test_passes_with_correct_symbol
3409
+ -----------------------------------------------------------------
3410
+ Processing by TemplateAssertionsController#render_with_template as HTML
3411
+ Rendering test/hello_world.html.erb
3412
+ Rendered test/hello_world.html.erb (0.0ms)
3413
+ Completed 200 OK in 0ms (Views: 0.4ms)
3414
+ ------------------------------------------------------------------
3415
+ TemplateAssertionsControllerTest: test_passed_with_no_layout_false
3416
+ ------------------------------------------------------------------
3417
+ Processing by TemplateAssertionsController#render_with_template as HTML
3418
+ Rendering test/hello_world.html.erb
3419
+ Rendered test/hello_world.html.erb (0.1ms)
3420
+ Completed 200 OK in 1ms (Views: 0.7ms)
3421
+ ------------------------------------------------------------------
3422
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_string
3423
+ ------------------------------------------------------------------
3424
+ Processing by TemplateAssertionsController#render_with_template as HTML
3425
+ Rendering test/hello_world.html.erb
3426
+ Rendered test/hello_world.html.erb (0.0ms)
3427
+ Completed 200 OK in 0ms (Views: 0.3ms)
3428
+ --------------------------------------------------------------
3429
+ TemplateAssertionsControllerTest: test_fails_with_wrong_layout
3430
+ --------------------------------------------------------------
3431
+ Processing by TemplateAssertionsController#render_with_layout as HTML
3432
+ Rendering test/hello_world.html.erb within layouts/standard
3433
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
3434
+ Completed 200 OK in 0ms (Views: 0.4ms)
3435
+ ----------------------------------------------------------------------
3436
+ TemplateAssertionsIntegrationTest: test_partial_reset_between_requests
3437
+ ----------------------------------------------------------------------
3438
+ Started GET "/template_assertions/render_with_partial" for 127.0.0.1 at 2017-05-16 21:35:40 -0400
3439
+ Processing by TemplateAssertionsController#render_with_partial as HTML
3440
+ Rendered test/_partial.html.erb (0.0ms) [cache miss]
3441
+ Completed 200 OK in 0ms (Views: 0.3ms)
3442
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2017-05-16 21:35:40 -0400
3443
+ Processing by TemplateAssertionsController#render_nothing as HTML
3444
+ Completed 200 OK in 0ms
3445
+ ---------------------------------------------------------------------
3446
+ TemplateAssertionsIntegrationTest: test_layout_reset_between_requests
3447
+ ---------------------------------------------------------------------
3448
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2017-05-16 21:35:40 -0400
3449
+ Processing by TemplateAssertionsController#render_with_layout as HTML
3450
+ Rendering test/hello_world.html.erb within layouts/standard
3451
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
3452
+ Completed 200 OK in 0ms (Views: 0.4ms)
3453
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2017-05-16 21:35:40 -0400
3454
+ Processing by TemplateAssertionsController#render_nothing as HTML
3455
+ Completed 200 OK in 0ms
3456
+ --------------------------------------------------------------------------------------------
3457
+ TemplateAssertionsIntegrationTest: test_layout_reset_between_requests_when_opening_a_session
3458
+ --------------------------------------------------------------------------------------------
3459
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2017-05-16 21:35:40 -0400
3460
+ Processing by TemplateAssertionsController#render_with_layout as HTML
3461
+ Rendering test/hello_world.html.erb within layouts/standard
3462
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
3463
+ Completed 200 OK in 0ms (Views: 0.4ms)
3464
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2017-05-16 21:35:40 -0400
3465
+ Processing by TemplateAssertionsController#render_nothing as HTML
3466
+ Completed 200 OK in 0ms
3467
+ -------------------------------------------------------------------
3468
+ TemplateAssertionsIntegrationTest: test_file_reset_between_requests
3469
+ -------------------------------------------------------------------
3470
+ Started GET "/template_assertions/render_file_relative_path" for 127.0.0.1 at 2017-05-16 21:35:40 -0400
3471
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
3472
+ Rendering README.rdoc
3473
+ Rendered README.rdoc (0.1ms)
3474
+ Completed 200 OK in 1ms (Views: 0.8ms)
3475
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2017-05-16 21:35:40 -0400
3476
+ Processing by TemplateAssertionsController#render_nothing as HTML
3477
+ Completed 200 OK in 0ms
3478
+ ----------------------------------------------------------------------------------------------
3479
+ TemplateAssertionsIntegrationTest: test_template_reset_between_requests_when_opening_a_session
3480
+ ----------------------------------------------------------------------------------------------
3481
+ Started GET "/template_assertions/render_with_template" for 127.0.0.1 at 2017-05-16 21:35:40 -0400
3482
+ Processing by TemplateAssertionsController#render_with_template as HTML
3483
+ Rendering test/hello_world.html.erb
3484
+ Rendered test/hello_world.html.erb (0.1ms)
3485
+ Completed 200 OK in 1ms (Views: 1.1ms)
3486
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2017-05-16 21:35:40 -0400
3487
+ Processing by TemplateAssertionsController#render_nothing as HTML
3488
+ Completed 200 OK in 0ms
3489
+ -------------------------------------------------------------------------------
3490
+ TemplateAssertionsIntegrationTest: test_cookies_do_not_reset_template_assertion
3491
+ -------------------------------------------------------------------------------
3492
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2017-05-16 21:35:40 -0400
3493
+ Processing by TemplateAssertionsController#render_with_layout as HTML
3494
+ Rendering test/hello_world.html.erb within layouts/standard
3495
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
3496
+ Completed 200 OK in 0ms (Views: 0.4ms)
3497
+ -----------------------------------------------------------------------
3498
+ TemplateAssertionsIntegrationTest: test_template_reset_between_requests
3499
+ -----------------------------------------------------------------------
3500
+ Started GET "/template_assertions/render_with_template" for 127.0.0.1 at 2017-05-16 21:35:40 -0400
3501
+ Processing by TemplateAssertionsController#render_with_template as HTML
3502
+ Rendering test/hello_world.html.erb
3503
+ Rendered test/hello_world.html.erb (0.0ms)
3504
+ Completed 200 OK in 0ms (Views: 0.4ms)
3505
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2017-05-16 21:35:40 -0400
3506
+ Processing by TemplateAssertionsController#render_nothing as HTML
3507
+ Completed 200 OK in 0ms
3508
+ ------------------------------------------------------------------------------------------
3509
+ TemplateAssertionsIntegrationTest: test_file_reset_between_requests_when_opening_a_session
3510
+ ------------------------------------------------------------------------------------------
3511
+ Started GET "/template_assertions/render_file_relative_path" for 127.0.0.1 at 2017-05-16 21:35:40 -0400
3512
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
3513
+ Rendering README.rdoc
3514
+ Rendered README.rdoc (0.0ms)
3515
+ Completed 200 OK in 0ms (Views: 0.4ms)
3516
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2017-05-16 21:35:40 -0400
3517
+ Processing by TemplateAssertionsController#render_nothing as HTML
3518
+ Completed 200 OK in 0ms
3519
+ ---------------------------------------------------------------------------------------------
3520
+ TemplateAssertionsIntegrationTest: test_partial_reset_between_requests_when_opening_a_session
3521
+ ---------------------------------------------------------------------------------------------
3522
+ Started GET "/template_assertions/render_with_partial" for 127.0.0.1 at 2017-05-16 21:35:40 -0400
3523
+ Processing by TemplateAssertionsController#render_with_partial as HTML
3524
+ Rendered test/_partial.html.erb (0.0ms) [cache miss]
3525
+ Completed 200 OK in 0ms (Views: 0.3ms)
3526
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2017-05-16 21:35:40 -0400
3527
+ Processing by TemplateAssertionsController#render_nothing as HTML
3528
+ Completed 200 OK in 0ms
3529
+ -------------------------------------------------------------------------------
3530
+ TemplateAssertionsIntegrationTest: test_assigns_do_not_reset_template_assertion
3531
+ -------------------------------------------------------------------------------
3532
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2017-05-16 21:35:40 -0400
3533
+ Processing by TemplateAssertionsController#render_with_layout as HTML
3534
+ Rendering test/hello_world.html.erb within layouts/standard
3535
+ Rendered test/hello_world.html.erb within layouts/standard (0.1ms)
3536
+ Completed 200 OK in 1ms (Views: 0.7ms)
3537
+ -----------------------------------
3538
+ AssignsControllerTest: test_assigns
3539
+ -----------------------------------
3540
+ Processing by AssignsController#test_assigns as HTML
3541
+ Completed 200 OK in 0ms
3542
+ ----------------------------------------
3543
+ AssignsControllerTest: test_view_assigns
3544
+ ----------------------------------------
3545
+ Processing by ViewAssignsController#test_assigns as HTML
3546
+ Completed 200 OK in 0ms