rails-controller-testing 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a10611286fe68f159c553eee2b77210a3b42de2f7fc8d7897da80f5270160745
4
- data.tar.gz: 25e4f3f47887d7d2c5c4c9561ca819d215b81c8525e24575821ce14377275fd8
3
+ metadata.gz: f3b7f00e40a23b64e92f285090dd9eb15f74ab287eb9de79543ac7f9bcf50a22
4
+ data.tar.gz: 2d7b21a3d4059c9a54dca28d41a3099f2602ba56a31992165789b19327e63280
5
5
  SHA512:
6
- metadata.gz: 726c23a8a35209e86afae98b0653ec4f15519eeafdb35b1f2f08a92d7df442b4fd5cd8a60920811be871d4a336d7c0abd572427e8a574b8f8ae1a30ab2e5e37f
7
- data.tar.gz: be8adbe9376c3dc93e790f8dcde2b2afdb9ebbb7d82a284293a429fbc6acef682ba707e6016c39a521cc729b86c90eb082818450ac18277382b9aa299a655f7b
6
+ metadata.gz: cc232a50faa3d928a3676bd2faf9dbf72f2502fdc5b58e07a943174df628c0a1c947e2a02991073904478df62f17a3a00eb272ccfac396f640350aeae13a128f
7
+ data.tar.gz: 859db9129b58f6e3cb6de2b651218edcfdd2c7fdeb578e66d0877722c2b1ff767479a2b451ae842918420f09a92831e66ec1b4d45880c9590356c4d5b8dff54f
@@ -1,3 +1,5 @@
1
+ require 'action_pack'
2
+
1
3
  module Rails
2
4
  module Controller
3
5
  module Testing
@@ -1,7 +1,7 @@
1
1
  module Rails
2
2
  module Controller
3
3
  module Testing
4
- VERSION = "1.0.3"
4
+ VERSION = "1.0.4"
5
5
  end
6
6
  end
7
7
  end
@@ -3906,3 +3906,727 @@ Processing by TemplateAssertionsController#render_with_layout as HTML
3906
3906
  Rendering test/hello_world.html.erb within layouts/standard
3907
3907
  Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
3908
3908
  Completed 200 OK in 0ms (Views: 0.3ms)
3909
+ --------------------------------------------------------------------
3910
+ RenderTemplateTest: test_supports_specifying_templates_with_a_Regexp
3911
+ --------------------------------------------------------------------
3912
+ Rendering test/hello_world.html.erb
3913
+ Rendered test/hello_world.html.erb (1.3ms)
3914
+ -------------------------------------------------------------
3915
+ RenderTemplateTest: test_supports_specifying_locals_(passing)
3916
+ -------------------------------------------------------------
3917
+ Rendering test/calling_partial_with_layout.html.erb
3918
+ Rendered test/_partial_for_use_in_layout.html.erb (26.2ms)
3919
+ Rendered test/calling_partial_with_layout.html.erb (53.3ms)
3920
+ -------------------------------------------------------------
3921
+ RenderTemplateTest: test_supports_specifying_locals_(failing)
3922
+ -------------------------------------------------------------
3923
+ Rendering test/calling_partial_with_layout.html.erb
3924
+ Rendered test/_partial_for_use_in_layout.html.erb (0.1ms)
3925
+ Rendered test/calling_partial_with_layout.html.erb (0.2ms)
3926
+ -------------------------------------------------------------------------------------------------------------
3927
+ RenderTemplateTest: test_specifying_locals_works_when_the_partial_is_inside_a_directory_with_underline_prefix
3928
+ -------------------------------------------------------------------------------------------------------------
3929
+ Rendering test/render_partial_inside_directory.html.erb
3930
+ Rendered test/_directory/_partial_with_locales.html.erb (0.3ms)
3931
+ Rendered test/render_partial_inside_directory.html.erb (27.5ms)
3932
+ -----------------------------------------------------
3933
+ RenderTemplateTest: test_supports_specifying_partials
3934
+ -----------------------------------------------------
3935
+ Rendering test/calling_partial_with_layout.html.erb
3936
+ Rendered test/_partial_for_use_in_layout.html.erb (0.1ms)
3937
+ Rendered test/calling_partial_with_layout.html.erb (0.2ms)
3938
+ ----------------------------------------------------------------------------------------------------------------
3939
+ RenderTemplateTest: test_specifying_locals_works_when_the_partial_is_inside_a_directory_without_underline_prefix
3940
+ ----------------------------------------------------------------------------------------------------------------
3941
+ Rendering test/render_partial_inside_directory.html.erb
3942
+ Rendered test/_directory/_partial_with_locales.html.erb (0.0ms)
3943
+ Rendered test/render_partial_inside_directory.html.erb (0.2ms)
3944
+ ----------------------------------------------------------------------------------------
3945
+ RenderTemplateTest: test_raises_descriptive_error_message_when_template_was_not_rendered
3946
+ ----------------------------------------------------------------------------------------
3947
+ Rendering test/hello_world_with_partial.html.erb
3948
+ Rendered test/_partial.html.erb (0.4ms)
3949
+ Rendered test/hello_world_with_partial.html.erb (23.5ms)
3950
+ ----------------------------------------------------------------------
3951
+ RenderTemplateTest: test_supports_different_locals_on_the_same_partial
3952
+ ----------------------------------------------------------------------
3953
+ Rendering test/render_two_partials.html.erb
3954
+ Rendered test/_partial.html.erb (0.3ms)
3955
+ Rendered test/_partial.html.erb (0.3ms)
3956
+ Rendered test/render_two_partials.html.erb (42.3ms)
3957
+ --------------------------------------------------------------
3958
+ TemplateAssertionsControllerTest: test_fails_with_wrong_layout
3959
+ --------------------------------------------------------------
3960
+ Processing by TemplateAssertionsController#render_with_layout as HTML
3961
+ Rendering test/hello_world.html.erb within layouts/standard
3962
+ Rendered test/hello_world.html.erb within layouts/standard (0.4ms)
3963
+ Completed 200 OK in 5ms (Views: 4.7ms)
3964
+ -------------------------------------------------------------------------------
3965
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_string_that_matches
3966
+ -------------------------------------------------------------------------------
3967
+ Processing by TemplateAssertionsController#render_with_template as HTML
3968
+ Rendering test/hello_world.html.erb
3969
+ Rendered test/hello_world.html.erb (0.1ms)
3970
+ Completed 200 OK in 5ms (Views: 5.0ms)
3971
+ ---------------------------------------------------
3972
+ TemplateAssertionsControllerTest: test_with_partial
3973
+ ---------------------------------------------------
3974
+ Processing by TemplateAssertionsController#render_with_partial as HTML
3975
+ Rendered test/_partial.html.erb (0.4ms)
3976
+ Completed 200 OK in 3ms (Views: 3.2ms)
3977
+ ----------------------------------------------------------------------------
3978
+ TemplateAssertionsControllerTest: test_with_nil_fails_when_template_rendered
3979
+ ----------------------------------------------------------------------------
3980
+ Processing by TemplateAssertionsController#render_with_template as HTML
3981
+ Rendering test/hello_world.html.erb
3982
+ Rendered test/hello_world.html.erb (0.1ms)
3983
+ Completed 200 OK in 0ms (Views: 0.4ms)
3984
+ -----------------------------------------------------------------
3985
+ TemplateAssertionsControllerTest: test_passes_with_correct_symbol
3986
+ -----------------------------------------------------------------
3987
+ Processing by TemplateAssertionsController#render_with_template as HTML
3988
+ Rendering test/hello_world.html.erb
3989
+ Rendered test/hello_world.html.erb (0.1ms)
3990
+ Completed 200 OK in 1ms (Views: 0.5ms)
3991
+ ----------------------------------------------------------------------
3992
+ TemplateAssertionsControllerTest: test_file_with_absolute_path_success
3993
+ ----------------------------------------------------------------------
3994
+ Processing by TemplateAssertionsController#render_file_absolute_path as HTML
3995
+ Rendering README.rdoc
3996
+ Rendered README.rdoc (0.3ms)
3997
+ Completed 200 OK in 9ms (Views: 9.2ms)
3998
+ --------------------------------------------------------------------------------
3999
+ TemplateAssertionsControllerTest: test_with_nil_passes_when_no_template_rendered
4000
+ --------------------------------------------------------------------------------
4001
+ Processing by TemplateAssertionsController#render_nothing as HTML
4002
+ Completed 200 OK in 0ms
4003
+ ------------------------------------------------------------------
4004
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_string
4005
+ ------------------------------------------------------------------
4006
+ Processing by TemplateAssertionsController#render_with_template as HTML
4007
+ Rendering test/hello_world.html.erb
4008
+ Rendered test/hello_world.html.erb (0.0ms)
4009
+ Completed 200 OK in 0ms (Views: 0.4ms)
4010
+ ----------------------------------------------------------------------------------------
4011
+ TemplateAssertionsControllerTest: test_with_empty_string_fails_when_no_template_rendered
4012
+ ----------------------------------------------------------------------------------------
4013
+ Processing by TemplateAssertionsController#render_nothing as HTML
4014
+ Completed 200 OK in 0ms
4015
+ ----------------------------------------------------------------------------------------
4016
+ TemplateAssertionsControllerTest: test_locals_option_to_assert_template_is_not_supported
4017
+ ----------------------------------------------------------------------------------------
4018
+ Processing by TemplateAssertionsController#render_nothing as HTML
4019
+ Completed 200 OK in 0ms
4020
+ -----------------------------------------------------------------------------
4021
+ TemplateAssertionsControllerTest: test_assert_template_reset_between_requests
4022
+ -----------------------------------------------------------------------------
4023
+ Processing by TemplateAssertionsController#render_with_template as HTML
4024
+ Rendering test/hello_world.html.erb
4025
+ Rendered test/hello_world.html.erb (0.0ms)
4026
+ Completed 200 OK in 0ms (Views: 0.3ms)
4027
+ Processing by TemplateAssertionsController#render_nothing as HTML
4028
+ Completed 200 OK in 0ms (Views: 0.3ms)
4029
+ Processing by TemplateAssertionsController#render_with_partial as HTML
4030
+ Rendered test/_partial.html.erb (0.0ms)
4031
+ Completed 200 OK in 0ms (Views: 0.3ms)
4032
+ Processing by TemplateAssertionsController#render_nothing as HTML
4033
+ Completed 200 OK in 0ms (Views: 0.3ms)
4034
+ Processing by TemplateAssertionsController#render_with_layout as HTML
4035
+ Rendering test/hello_world.html.erb within layouts/standard
4036
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
4037
+ Completed 200 OK in 0ms (Views: 0.4ms)
4038
+ Processing by TemplateAssertionsController#render_nothing as HTML
4039
+ Completed 200 OK in 0ms (Views: 0.4ms)
4040
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
4041
+ Rendering README.rdoc
4042
+ Rendered README.rdoc (0.3ms)
4043
+ Completed 200 OK in 4ms (Views: 4.1ms)
4044
+ Processing by TemplateAssertionsController#render_nothing as HTML
4045
+ Completed 200 OK in 0ms (Views: 4.1ms)
4046
+ -----------------------------------------------------------------
4047
+ TemplateAssertionsControllerTest: test_passes_with_correct_layout
4048
+ -----------------------------------------------------------------
4049
+ Processing by TemplateAssertionsController#render_with_layout as HTML
4050
+ Rendering test/hello_world.html.erb within layouts/standard
4051
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
4052
+ Completed 200 OK in 0ms (Views: 0.5ms)
4053
+ ------------------------------------------------------------------
4054
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_symbol
4055
+ ------------------------------------------------------------------
4056
+ Processing by TemplateAssertionsController#render_with_template as HTML
4057
+ Rendering test/hello_world.html.erb
4058
+ Rendered test/hello_world.html.erb (0.0ms)
4059
+ Completed 200 OK in 0ms (Views: 0.3ms)
4060
+ --------------------------------------------------------
4061
+ TemplateAssertionsControllerTest: test_with_file_failure
4062
+ --------------------------------------------------------
4063
+ Processing by TemplateAssertionsController#render_file_absolute_path as HTML
4064
+ Rendering README.rdoc
4065
+ Rendered README.rdoc (0.0ms)
4066
+ Completed 200 OK in 0ms (Views: 0.3ms)
4067
+ Processing by TemplateAssertionsController#render_file_absolute_path as HTML
4068
+ Rendering README.rdoc
4069
+ Rendered README.rdoc (0.1ms)
4070
+ Completed 200 OK in 0ms (Views: 0.3ms)
4071
+ ------------------------------------------------------------------------
4072
+ TemplateAssertionsControllerTest: test_passes_with_correct_layout_symbol
4073
+ ------------------------------------------------------------------------
4074
+ Processing by TemplateAssertionsController#render_with_layout as HTML
4075
+ Rendering test/hello_world.html.erb within layouts/standard
4076
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
4077
+ Completed 200 OK in 0ms (Views: 0.3ms)
4078
+ -------------------------------------------------------------------------------------
4079
+ TemplateAssertionsControllerTest: test_with_empty_string_fails_when_template_rendered
4080
+ -------------------------------------------------------------------------------------
4081
+ Processing by TemplateAssertionsController#render_with_template as HTML
4082
+ Rendering test/hello_world.html.erb
4083
+ Rendered test/hello_world.html.erb (0.0ms)
4084
+ Completed 200 OK in 0ms (Views: 0.3ms)
4085
+ -----------------------------------------------------------------
4086
+ TemplateAssertionsControllerTest: test_passes_with_correct_string
4087
+ -----------------------------------------------------------------
4088
+ Processing by TemplateAssertionsController#render_with_template as HTML
4089
+ Rendering test/hello_world.html.erb
4090
+ Rendered test/hello_world.html.erb (0.0ms)
4091
+ Completed 200 OK in 1ms (Views: 0.5ms)
4092
+ ----------------------------------------------------------------
4093
+ TemplateAssertionsControllerTest: test_fails_expecting_no_layout
4094
+ ----------------------------------------------------------------
4095
+ Processing by TemplateAssertionsController#render_with_layout as HTML
4096
+ Rendering test/hello_world.html.erb within layouts/standard
4097
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
4098
+ Completed 200 OK in 0ms (Views: 0.3ms)
4099
+ -----------------------------------------------------------------------
4100
+ TemplateAssertionsControllerTest: test_fails_expecting_not_known_layout
4101
+ -----------------------------------------------------------------------
4102
+ Processing by TemplateAssertionsController#render_with_layout as HTML
4103
+ Rendering test/hello_world.html.erb within layouts/standard
4104
+ Rendered test/hello_world.html.erb within layouts/standard (0.1ms)
4105
+ Completed 200 OK in 1ms (Views: 0.8ms)
4106
+ ------------------------------------------------------------------
4107
+ TemplateAssertionsControllerTest: test_passed_with_no_layout_false
4108
+ ------------------------------------------------------------------
4109
+ Processing by TemplateAssertionsController#render_with_template as HTML
4110
+ Rendering test/hello_world.html.erb
4111
+ Rendered test/hello_world.html.erb (0.0ms)
4112
+ Completed 200 OK in 0ms (Views: 0.4ms)
4113
+ -----------------------------------------------------------------------------------
4114
+ TemplateAssertionsControllerTest: test_with_invalid_hash_keys_raises_argument_error
4115
+ -----------------------------------------------------------------------------------
4116
+ ----------------------------------------------------------------------------------------
4117
+ TemplateAssertionsControllerTest: test_passes_with_correct_layout_without_layouts_prefix
4118
+ ----------------------------------------------------------------------------------------
4119
+ Processing by TemplateAssertionsController#render_with_layout as HTML
4120
+ Rendering test/hello_world.html.erb within layouts/standard
4121
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
4122
+ Completed 200 OK in 0ms (Views: 0.4ms)
4123
+ ---------------------------------------------------------------------
4124
+ TemplateAssertionsControllerTest: test_passes_with_layout_and_partial
4125
+ ---------------------------------------------------------------------
4126
+ Processing by TemplateAssertionsController#render_with_layout_and_partial as HTML
4127
+ Rendering test/hello_world_with_partial.html.erb within layouts/standard
4128
+ Rendered test/_partial.html.erb (0.0ms)
4129
+ Rendered test/hello_world_with_partial.html.erb within layouts/standard (0.4ms)
4130
+ Completed 200 OK in 2ms (Views: 2.2ms)
4131
+ ----------------------------------------------------------------------
4132
+ TemplateAssertionsControllerTest: test_file_with_relative_path_success
4133
+ ----------------------------------------------------------------------
4134
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
4135
+ Rendering README.rdoc
4136
+ Rendered README.rdoc (0.1ms)
4137
+ Completed 200 OK in 0ms (Views: 0.3ms)
4138
+ -------------------------------------------------------------------------------
4139
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_symbol_that_matches
4140
+ -------------------------------------------------------------------------------
4141
+ Processing by TemplateAssertionsController#render_with_template as HTML
4142
+ Rendering test/hello_world.html.erb
4143
+ Rendered test/hello_world.html.erb (0.0ms)
4144
+ Completed 200 OK in 0ms (Views: 0.3ms)
4145
+ ------------------------------------------------------------
4146
+ TemplateAssertionsControllerTest: test_passed_with_no_layout
4147
+ ------------------------------------------------------------
4148
+ Processing by TemplateAssertionsController#render_with_template as HTML
4149
+ Rendering test/hello_world.html.erb
4150
+ Rendered test/hello_world.html.erb (0.0ms)
4151
+ Completed 200 OK in 0ms (Views: 0.3ms)
4152
+ -----------------------------------------------------------------------
4153
+ TemplateAssertionsControllerTest: test_fails_with_repeated_name_in_path
4154
+ -----------------------------------------------------------------------
4155
+ Processing by TemplateAssertionsController#render_with_template_repeating_in_path as HTML
4156
+ Rendering test/hello/hello.html.erb
4157
+ Rendered test/hello/hello.html.erb (0.2ms)
4158
+ Completed 200 OK in 3ms (Views: 2.4ms)
4159
+ -----------------------------------------------------------------------
4160
+ TemplateAssertionsIntegrationTest: test_template_reset_between_requests
4161
+ -----------------------------------------------------------------------
4162
+ Started GET "/template_assertions/render_with_template" for 127.0.0.1 at 2018-12-05 10:19:28 -0500
4163
+ Processing by TemplateAssertionsController#render_with_template as HTML
4164
+ Rendering test/hello_world.html.erb
4165
+ Rendered test/hello_world.html.erb (0.0ms)
4166
+ Completed 200 OK in 0ms (Views: 0.4ms)
4167
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2018-12-05 10:19:28 -0500
4168
+ Processing by TemplateAssertionsController#render_nothing as HTML
4169
+ Completed 200 OK in 0ms
4170
+ ----------------------------------------------------------------------
4171
+ TemplateAssertionsIntegrationTest: test_partial_reset_between_requests
4172
+ ----------------------------------------------------------------------
4173
+ Started GET "/template_assertions/render_with_partial" for 127.0.0.1 at 2018-12-05 10:19:28 -0500
4174
+ Processing by TemplateAssertionsController#render_with_partial as HTML
4175
+ Rendered test/_partial.html.erb (0.0ms)
4176
+ Completed 200 OK in 0ms (Views: 0.2ms)
4177
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2018-12-05 10:19:28 -0500
4178
+ Processing by TemplateAssertionsController#render_nothing as HTML
4179
+ Completed 200 OK in 0ms
4180
+ -------------------------------------------------------------------------------
4181
+ TemplateAssertionsIntegrationTest: test_assigns_do_not_reset_template_assertion
4182
+ -------------------------------------------------------------------------------
4183
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2018-12-05 10:19:28 -0500
4184
+ Processing by TemplateAssertionsController#render_with_layout as HTML
4185
+ Rendering test/hello_world.html.erb within layouts/standard
4186
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
4187
+ Completed 200 OK in 0ms (Views: 0.3ms)
4188
+ ------------------------------------------------------------------------------------------
4189
+ TemplateAssertionsIntegrationTest: test_file_reset_between_requests_when_opening_a_session
4190
+ ------------------------------------------------------------------------------------------
4191
+ Started GET "/template_assertions/render_file_relative_path" for 127.0.0.1 at 2018-12-05 10:19:28 -0500
4192
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
4193
+ Rendering README.rdoc
4194
+ Rendered README.rdoc (0.0ms)
4195
+ Completed 200 OK in 0ms (Views: 0.3ms)
4196
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2018-12-05 10:19:28 -0500
4197
+ Processing by TemplateAssertionsController#render_nothing as HTML
4198
+ Completed 200 OK in 0ms
4199
+ ----------------------------------------------------------------------------------------------
4200
+ TemplateAssertionsIntegrationTest: test_template_reset_between_requests_when_opening_a_session
4201
+ ----------------------------------------------------------------------------------------------
4202
+ Started GET "/template_assertions/render_with_template" for 127.0.0.1 at 2018-12-05 10:19:28 -0500
4203
+ Processing by TemplateAssertionsController#render_with_template as HTML
4204
+ Rendering test/hello_world.html.erb
4205
+ Rendered test/hello_world.html.erb (0.0ms)
4206
+ Completed 200 OK in 0ms (Views: 0.3ms)
4207
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2018-12-05 10:19:28 -0500
4208
+ Processing by TemplateAssertionsController#render_nothing as HTML
4209
+ Completed 200 OK in 0ms
4210
+ -------------------------------------------------------------------------------
4211
+ TemplateAssertionsIntegrationTest: test_cookies_do_not_reset_template_assertion
4212
+ -------------------------------------------------------------------------------
4213
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2018-12-05 10:19:28 -0500
4214
+ Processing by TemplateAssertionsController#render_with_layout as HTML
4215
+ Rendering test/hello_world.html.erb within layouts/standard
4216
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
4217
+ Completed 200 OK in 0ms (Views: 0.3ms)
4218
+ --------------------------------------------------------------------------------------------
4219
+ TemplateAssertionsIntegrationTest: test_layout_reset_between_requests_when_opening_a_session
4220
+ --------------------------------------------------------------------------------------------
4221
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2018-12-05 10:19:28 -0500
4222
+ Processing by TemplateAssertionsController#render_with_layout as HTML
4223
+ Rendering test/hello_world.html.erb within layouts/standard
4224
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
4225
+ Completed 200 OK in 0ms (Views: 0.5ms)
4226
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2018-12-05 10:19:28 -0500
4227
+ Processing by TemplateAssertionsController#render_nothing as HTML
4228
+ Completed 200 OK in 0ms
4229
+ ---------------------------------------------------------------------
4230
+ TemplateAssertionsIntegrationTest: test_layout_reset_between_requests
4231
+ ---------------------------------------------------------------------
4232
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2018-12-05 10:19:28 -0500
4233
+ Processing by TemplateAssertionsController#render_with_layout as HTML
4234
+ Rendering test/hello_world.html.erb within layouts/standard
4235
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
4236
+ Completed 200 OK in 0ms (Views: 0.3ms)
4237
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2018-12-05 10:19:28 -0500
4238
+ Processing by TemplateAssertionsController#render_nothing as HTML
4239
+ Completed 200 OK in 0ms
4240
+ -------------------------------------------------------------------
4241
+ TemplateAssertionsIntegrationTest: test_file_reset_between_requests
4242
+ -------------------------------------------------------------------
4243
+ Started GET "/template_assertions/render_file_relative_path" for 127.0.0.1 at 2018-12-05 10:19:28 -0500
4244
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
4245
+ Rendering README.rdoc
4246
+ Rendered README.rdoc (0.0ms)
4247
+ Completed 200 OK in 0ms (Views: 0.3ms)
4248
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2018-12-05 10:19:28 -0500
4249
+ Processing by TemplateAssertionsController#render_nothing as HTML
4250
+ Completed 200 OK in 0ms
4251
+ ---------------------------------------------------------------------------------------------
4252
+ TemplateAssertionsIntegrationTest: test_partial_reset_between_requests_when_opening_a_session
4253
+ ---------------------------------------------------------------------------------------------
4254
+ Started GET "/template_assertions/render_with_partial" for 127.0.0.1 at 2018-12-05 10:19:28 -0500
4255
+ Processing by TemplateAssertionsController#render_with_partial as HTML
4256
+ Rendered test/_partial.html.erb (0.0ms)
4257
+ Completed 200 OK in 0ms (Views: 0.2ms)
4258
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2018-12-05 10:19:28 -0500
4259
+ Processing by TemplateAssertionsController#render_nothing as HTML
4260
+ Completed 200 OK in 0ms
4261
+ -----------------------------------
4262
+ AssignsControllerTest: test_assigns
4263
+ -----------------------------------
4264
+ Processing by AssignsController#test_assigns as HTML
4265
+ Completed 200 OK in 0ms
4266
+ ----------------------------------------
4267
+ AssignsControllerTest: test_view_assigns
4268
+ ----------------------------------------
4269
+ Processing by ViewAssignsController#test_assigns as HTML
4270
+ Completed 200 OK in 0ms
4271
+ ----------------------------------------
4272
+ AssignsControllerTest: test_view_assigns
4273
+ ----------------------------------------
4274
+ Processing by ViewAssignsController#test_assigns as HTML
4275
+ Completed 200 OK in 0ms
4276
+ -----------------------------------
4277
+ AssignsControllerTest: test_assigns
4278
+ -----------------------------------
4279
+ Processing by AssignsController#test_assigns as HTML
4280
+ Completed 200 OK in 0ms
4281
+ -----------------------------------------------------
4282
+ RenderTemplateTest: test_supports_specifying_partials
4283
+ -----------------------------------------------------
4284
+ Rendering test/calling_partial_with_layout.html.erb
4285
+ Rendered test/_partial_for_use_in_layout.html.erb (21.7ms)
4286
+ Rendered test/calling_partial_with_layout.html.erb (49.0ms)
4287
+ ----------------------------------------------------------------------------------------------------------------
4288
+ RenderTemplateTest: test_specifying_locals_works_when_the_partial_is_inside_a_directory_without_underline_prefix
4289
+ ----------------------------------------------------------------------------------------------------------------
4290
+ Rendering test/render_partial_inside_directory.html.erb
4291
+ Rendered test/_directory/_partial_with_locales.html.erb (0.3ms)
4292
+ Rendered test/render_partial_inside_directory.html.erb (24.3ms)
4293
+ --------------------------------------------------------------------
4294
+ RenderTemplateTest: test_supports_specifying_templates_with_a_Regexp
4295
+ --------------------------------------------------------------------
4296
+ Rendering test/hello_world.html.erb
4297
+ Rendered test/hello_world.html.erb (0.2ms)
4298
+ -------------------------------------------------------------
4299
+ RenderTemplateTest: test_supports_specifying_locals_(failing)
4300
+ -------------------------------------------------------------
4301
+ Rendering test/calling_partial_with_layout.html.erb
4302
+ Rendered test/_partial_for_use_in_layout.html.erb (0.1ms)
4303
+ Rendered test/calling_partial_with_layout.html.erb (0.2ms)
4304
+ ----------------------------------------------------------------------
4305
+ RenderTemplateTest: test_supports_different_locals_on_the_same_partial
4306
+ ----------------------------------------------------------------------
4307
+ Rendering test/render_two_partials.html.erb
4308
+ Rendered test/_partial.html.erb (0.3ms)
4309
+ Rendered test/_partial.html.erb (0.3ms)
4310
+ Rendered test/render_two_partials.html.erb (46.9ms)
4311
+ -------------------------------------------------------------------------------------------------------------
4312
+ RenderTemplateTest: test_specifying_locals_works_when_the_partial_is_inside_a_directory_with_underline_prefix
4313
+ -------------------------------------------------------------------------------------------------------------
4314
+ Rendering test/render_partial_inside_directory.html.erb
4315
+ Rendered test/_directory/_partial_with_locales.html.erb (0.0ms)
4316
+ Rendered test/render_partial_inside_directory.html.erb (0.2ms)
4317
+ -------------------------------------------------------------
4318
+ RenderTemplateTest: test_supports_specifying_locals_(passing)
4319
+ -------------------------------------------------------------
4320
+ Rendering test/calling_partial_with_layout.html.erb
4321
+ Rendered test/_partial_for_use_in_layout.html.erb (0.1ms)
4322
+ Rendered test/calling_partial_with_layout.html.erb (0.2ms)
4323
+ ----------------------------------------------------------------------------------------
4324
+ RenderTemplateTest: test_raises_descriptive_error_message_when_template_was_not_rendered
4325
+ ----------------------------------------------------------------------------------------
4326
+ Rendering test/hello_world_with_partial.html.erb
4327
+ Rendered test/_partial.html.erb (0.2ms)
4328
+ Rendered test/hello_world_with_partial.html.erb (22.0ms)
4329
+ -------------------------------------------------------------------------------
4330
+ TemplateAssertionsIntegrationTest: test_cookies_do_not_reset_template_assertion
4331
+ -------------------------------------------------------------------------------
4332
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2018-12-05 10:22:45 -0500
4333
+ Processing by TemplateAssertionsController#render_with_layout as HTML
4334
+ Rendering test/hello_world.html.erb within layouts/standard
4335
+ Rendered test/hello_world.html.erb within layouts/standard (0.4ms)
4336
+ Completed 200 OK in 5ms (Views: 5.1ms)
4337
+ -------------------------------------------------------------------
4338
+ TemplateAssertionsIntegrationTest: test_file_reset_between_requests
4339
+ -------------------------------------------------------------------
4340
+ Started GET "/template_assertions/render_file_relative_path" for 127.0.0.1 at 2018-12-05 10:22:45 -0500
4341
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
4342
+ Rendering README.rdoc
4343
+ Rendered README.rdoc (0.2ms)
4344
+ Completed 200 OK in 6ms (Views: 6.3ms)
4345
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2018-12-05 10:22:45 -0500
4346
+ Processing by TemplateAssertionsController#render_nothing as HTML
4347
+ Completed 200 OK in 0ms
4348
+ ----------------------------------------------------------------------
4349
+ TemplateAssertionsIntegrationTest: test_partial_reset_between_requests
4350
+ ----------------------------------------------------------------------
4351
+ Started GET "/template_assertions/render_with_partial" for 127.0.0.1 at 2018-12-05 10:22:45 -0500
4352
+ Processing by TemplateAssertionsController#render_with_partial as HTML
4353
+ Rendered test/_partial.html.erb (0.2ms)
4354
+ Completed 200 OK in 2ms (Views: 1.8ms)
4355
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2018-12-05 10:22:45 -0500
4356
+ Processing by TemplateAssertionsController#render_nothing as HTML
4357
+ Completed 200 OK in 0ms
4358
+ -----------------------------------------------------------------------
4359
+ TemplateAssertionsIntegrationTest: test_template_reset_between_requests
4360
+ -----------------------------------------------------------------------
4361
+ Started GET "/template_assertions/render_with_template" for 127.0.0.1 at 2018-12-05 10:22:45 -0500
4362
+ Processing by TemplateAssertionsController#render_with_template as HTML
4363
+ Rendering test/hello_world.html.erb
4364
+ Rendered test/hello_world.html.erb (0.1ms)
4365
+ Completed 200 OK in 1ms (Views: 0.8ms)
4366
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2018-12-05 10:22:45 -0500
4367
+ Processing by TemplateAssertionsController#render_nothing as HTML
4368
+ Completed 200 OK in 0ms
4369
+ ---------------------------------------------------------------------------------------------
4370
+ TemplateAssertionsIntegrationTest: test_partial_reset_between_requests_when_opening_a_session
4371
+ ---------------------------------------------------------------------------------------------
4372
+ Started GET "/template_assertions/render_with_partial" for 127.0.0.1 at 2018-12-05 10:22:45 -0500
4373
+ Processing by TemplateAssertionsController#render_with_partial as HTML
4374
+ Rendered test/_partial.html.erb (0.0ms)
4375
+ Completed 200 OK in 0ms (Views: 0.2ms)
4376
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2018-12-05 10:22:45 -0500
4377
+ Processing by TemplateAssertionsController#render_nothing as HTML
4378
+ Completed 200 OK in 0ms
4379
+ --------------------------------------------------------------------------------------------
4380
+ TemplateAssertionsIntegrationTest: test_layout_reset_between_requests_when_opening_a_session
4381
+ --------------------------------------------------------------------------------------------
4382
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2018-12-05 10:22:45 -0500
4383
+ Processing by TemplateAssertionsController#render_with_layout as HTML
4384
+ Rendering test/hello_world.html.erb within layouts/standard
4385
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
4386
+ Completed 200 OK in 0ms (Views: 0.3ms)
4387
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2018-12-05 10:22:45 -0500
4388
+ Processing by TemplateAssertionsController#render_nothing as HTML
4389
+ Completed 200 OK in 0ms
4390
+ ----------------------------------------------------------------------------------------------
4391
+ TemplateAssertionsIntegrationTest: test_template_reset_between_requests_when_opening_a_session
4392
+ ----------------------------------------------------------------------------------------------
4393
+ Started GET "/template_assertions/render_with_template" for 127.0.0.1 at 2018-12-05 10:22:45 -0500
4394
+ Processing by TemplateAssertionsController#render_with_template as HTML
4395
+ Rendering test/hello_world.html.erb
4396
+ Rendered test/hello_world.html.erb (0.0ms)
4397
+ Completed 200 OK in 0ms (Views: 0.3ms)
4398
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2018-12-05 10:22:45 -0500
4399
+ Processing by TemplateAssertionsController#render_nothing as HTML
4400
+ Completed 200 OK in 0ms
4401
+ ---------------------------------------------------------------------
4402
+ TemplateAssertionsIntegrationTest: test_layout_reset_between_requests
4403
+ ---------------------------------------------------------------------
4404
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2018-12-05 10:22:45 -0500
4405
+ Processing by TemplateAssertionsController#render_with_layout as HTML
4406
+ Rendering test/hello_world.html.erb within layouts/standard
4407
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
4408
+ Completed 200 OK in 0ms (Views: 0.3ms)
4409
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2018-12-05 10:22:45 -0500
4410
+ Processing by TemplateAssertionsController#render_nothing as HTML
4411
+ Completed 200 OK in 0ms
4412
+ -------------------------------------------------------------------------------
4413
+ TemplateAssertionsIntegrationTest: test_assigns_do_not_reset_template_assertion
4414
+ -------------------------------------------------------------------------------
4415
+ Started GET "/template_assertions/render_with_layout" for 127.0.0.1 at 2018-12-05 10:22:45 -0500
4416
+ Processing by TemplateAssertionsController#render_with_layout as HTML
4417
+ Rendering test/hello_world.html.erb within layouts/standard
4418
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
4419
+ Completed 200 OK in 1ms (Views: 0.5ms)
4420
+ ------------------------------------------------------------------------------------------
4421
+ TemplateAssertionsIntegrationTest: test_file_reset_between_requests_when_opening_a_session
4422
+ ------------------------------------------------------------------------------------------
4423
+ Started GET "/template_assertions/render_file_relative_path" for 127.0.0.1 at 2018-12-05 10:22:45 -0500
4424
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
4425
+ Rendering README.rdoc
4426
+ Rendered README.rdoc (0.0ms)
4427
+ Completed 200 OK in 0ms (Views: 0.3ms)
4428
+ Started GET "/template_assertions/render_nothing" for 127.0.0.1 at 2018-12-05 10:22:45 -0500
4429
+ Processing by TemplateAssertionsController#render_nothing as HTML
4430
+ Completed 200 OK in 0ms
4431
+ ----------------------------------------------------------------------
4432
+ TemplateAssertionsControllerTest: test_file_with_absolute_path_success
4433
+ ----------------------------------------------------------------------
4434
+ Processing by TemplateAssertionsController#render_file_absolute_path as HTML
4435
+ Rendering README.rdoc
4436
+ Rendered README.rdoc (0.2ms)
4437
+ Completed 200 OK in 5ms (Views: 5.0ms)
4438
+ -----------------------------------------------------------------------
4439
+ TemplateAssertionsControllerTest: test_fails_with_repeated_name_in_path
4440
+ -----------------------------------------------------------------------
4441
+ Processing by TemplateAssertionsController#render_with_template_repeating_in_path as HTML
4442
+ Rendering test/hello/hello.html.erb
4443
+ Rendered test/hello/hello.html.erb (0.2ms)
4444
+ Completed 200 OK in 2ms (Views: 1.9ms)
4445
+ ------------------------------------------------------------------------
4446
+ TemplateAssertionsControllerTest: test_passes_with_correct_layout_symbol
4447
+ ------------------------------------------------------------------------
4448
+ Processing by TemplateAssertionsController#render_with_layout as HTML
4449
+ Rendering test/hello_world.html.erb within layouts/standard
4450
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
4451
+ Completed 200 OK in 0ms (Views: 0.3ms)
4452
+ ------------------------------------------------------------------
4453
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_symbol
4454
+ ------------------------------------------------------------------
4455
+ Processing by TemplateAssertionsController#render_with_template as HTML
4456
+ Rendering test/hello_world.html.erb
4457
+ Rendered test/hello_world.html.erb (0.0ms)
4458
+ Completed 200 OK in 0ms (Views: 0.3ms)
4459
+ -----------------------------------------------------------------------------
4460
+ TemplateAssertionsControllerTest: test_assert_template_reset_between_requests
4461
+ -----------------------------------------------------------------------------
4462
+ Processing by TemplateAssertionsController#render_with_template as HTML
4463
+ Rendering test/hello_world.html.erb
4464
+ Rendered test/hello_world.html.erb (0.1ms)
4465
+ Completed 200 OK in 1ms (Views: 0.5ms)
4466
+ Processing by TemplateAssertionsController#render_nothing as HTML
4467
+ Completed 200 OK in 0ms (Views: 0.5ms)
4468
+ Processing by TemplateAssertionsController#render_with_partial as HTML
4469
+ Rendered test/_partial.html.erb (0.1ms)
4470
+ Completed 200 OK in 0ms (Views: 0.4ms)
4471
+ Processing by TemplateAssertionsController#render_nothing as HTML
4472
+ Completed 200 OK in 0ms (Views: 0.4ms)
4473
+ Processing by TemplateAssertionsController#render_with_layout as HTML
4474
+ Rendering test/hello_world.html.erb within layouts/standard
4475
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
4476
+ Completed 200 OK in 0ms (Views: 0.3ms)
4477
+ Processing by TemplateAssertionsController#render_nothing as HTML
4478
+ Completed 200 OK in 0ms (Views: 0.3ms)
4479
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
4480
+ Rendering README.rdoc
4481
+ Rendered README.rdoc (0.0ms)
4482
+ Completed 200 OK in 0ms (Views: 0.3ms)
4483
+ Processing by TemplateAssertionsController#render_nothing as HTML
4484
+ Completed 200 OK in 0ms (Views: 0.3ms)
4485
+ -------------------------------------------------------------------------------
4486
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_string_that_matches
4487
+ -------------------------------------------------------------------------------
4488
+ Processing by TemplateAssertionsController#render_with_template as HTML
4489
+ Rendering test/hello_world.html.erb
4490
+ Rendered test/hello_world.html.erb (0.0ms)
4491
+ Completed 200 OK in 0ms (Views: 0.3ms)
4492
+ ------------------------------------------------------------------
4493
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_string
4494
+ ------------------------------------------------------------------
4495
+ Processing by TemplateAssertionsController#render_with_template as HTML
4496
+ Rendering test/hello_world.html.erb
4497
+ Rendered test/hello_world.html.erb (0.0ms)
4498
+ Completed 200 OK in 0ms (Views: 0.3ms)
4499
+ --------------------------------------------------------------
4500
+ TemplateAssertionsControllerTest: test_fails_with_wrong_layout
4501
+ --------------------------------------------------------------
4502
+ Processing by TemplateAssertionsController#render_with_layout as HTML
4503
+ Rendering test/hello_world.html.erb within layouts/standard
4504
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
4505
+ Completed 200 OK in 0ms (Views: 0.3ms)
4506
+ ----------------------------------------------------------------------------------------
4507
+ TemplateAssertionsControllerTest: test_with_empty_string_fails_when_no_template_rendered
4508
+ ----------------------------------------------------------------------------------------
4509
+ Processing by TemplateAssertionsController#render_nothing as HTML
4510
+ Completed 200 OK in 0ms
4511
+ -------------------------------------------------------------------------------
4512
+ TemplateAssertionsControllerTest: test_fails_with_incorrect_symbol_that_matches
4513
+ -------------------------------------------------------------------------------
4514
+ Processing by TemplateAssertionsController#render_with_template as HTML
4515
+ Rendering test/hello_world.html.erb
4516
+ Rendered test/hello_world.html.erb (0.0ms)
4517
+ Completed 200 OK in 0ms (Views: 0.3ms)
4518
+ ----------------------------------------------------------------------------------------
4519
+ TemplateAssertionsControllerTest: test_locals_option_to_assert_template_is_not_supported
4520
+ ----------------------------------------------------------------------------------------
4521
+ Processing by TemplateAssertionsController#render_nothing as HTML
4522
+ Completed 200 OK in 0ms
4523
+ ----------------------------------------------------------------------------
4524
+ TemplateAssertionsControllerTest: test_with_nil_fails_when_template_rendered
4525
+ ----------------------------------------------------------------------------
4526
+ Processing by TemplateAssertionsController#render_with_template as HTML
4527
+ Rendering test/hello_world.html.erb
4528
+ Rendered test/hello_world.html.erb (0.0ms)
4529
+ Completed 200 OK in 0ms (Views: 0.3ms)
4530
+ ----------------------------------------------------------------------------------------
4531
+ TemplateAssertionsControllerTest: test_passes_with_correct_layout_without_layouts_prefix
4532
+ ----------------------------------------------------------------------------------------
4533
+ Processing by TemplateAssertionsController#render_with_layout as HTML
4534
+ Rendering test/hello_world.html.erb within layouts/standard
4535
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
4536
+ Completed 200 OK in 0ms (Views: 0.3ms)
4537
+ -----------------------------------------------------------------------
4538
+ TemplateAssertionsControllerTest: test_fails_expecting_not_known_layout
4539
+ -----------------------------------------------------------------------
4540
+ Processing by TemplateAssertionsController#render_with_layout as HTML
4541
+ Rendering test/hello_world.html.erb within layouts/standard
4542
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
4543
+ Completed 200 OK in 0ms (Views: 0.3ms)
4544
+ ---------------------------------------------------------------------
4545
+ TemplateAssertionsControllerTest: test_passes_with_layout_and_partial
4546
+ ---------------------------------------------------------------------
4547
+ Processing by TemplateAssertionsController#render_with_layout_and_partial as HTML
4548
+ Rendering test/hello_world_with_partial.html.erb within layouts/standard
4549
+ Rendered test/_partial.html.erb (0.1ms)
4550
+ Rendered test/hello_world_with_partial.html.erb within layouts/standard (0.8ms)
4551
+ Completed 200 OK in 4ms (Views: 3.7ms)
4552
+ -----------------------------------------------------------------
4553
+ TemplateAssertionsControllerTest: test_passes_with_correct_symbol
4554
+ -----------------------------------------------------------------
4555
+ Processing by TemplateAssertionsController#render_with_template as HTML
4556
+ Rendering test/hello_world.html.erb
4557
+ Rendered test/hello_world.html.erb (0.0ms)
4558
+ Completed 200 OK in 0ms (Views: 0.3ms)
4559
+ ------------------------------------------------------------
4560
+ TemplateAssertionsControllerTest: test_passed_with_no_layout
4561
+ ------------------------------------------------------------
4562
+ Processing by TemplateAssertionsController#render_with_template as HTML
4563
+ Rendering test/hello_world.html.erb
4564
+ Rendered test/hello_world.html.erb (0.0ms)
4565
+ Completed 200 OK in 0ms (Views: 0.3ms)
4566
+ ----------------------------------------------------------------
4567
+ TemplateAssertionsControllerTest: test_fails_expecting_no_layout
4568
+ ----------------------------------------------------------------
4569
+ Processing by TemplateAssertionsController#render_with_layout as HTML
4570
+ Rendering test/hello_world.html.erb within layouts/standard
4571
+ Rendered test/hello_world.html.erb within layouts/standard (0.0ms)
4572
+ Completed 200 OK in 0ms (Views: 0.4ms)
4573
+ -----------------------------------------------------------------------------------
4574
+ TemplateAssertionsControllerTest: test_with_invalid_hash_keys_raises_argument_error
4575
+ -----------------------------------------------------------------------------------
4576
+ -----------------------------------------------------------------
4577
+ TemplateAssertionsControllerTest: test_passes_with_correct_string
4578
+ -----------------------------------------------------------------
4579
+ Processing by TemplateAssertionsController#render_with_template as HTML
4580
+ Rendering test/hello_world.html.erb
4581
+ Rendered test/hello_world.html.erb (0.0ms)
4582
+ Completed 200 OK in 0ms (Views: 0.4ms)
4583
+ ----------------------------------------------------------------------
4584
+ TemplateAssertionsControllerTest: test_file_with_relative_path_success
4585
+ ----------------------------------------------------------------------
4586
+ Processing by TemplateAssertionsController#render_file_relative_path as HTML
4587
+ Rendering README.rdoc
4588
+ Rendered README.rdoc (0.0ms)
4589
+ Completed 200 OK in 0ms (Views: 0.4ms)
4590
+ --------------------------------------------------------------------------------
4591
+ TemplateAssertionsControllerTest: test_with_nil_passes_when_no_template_rendered
4592
+ --------------------------------------------------------------------------------
4593
+ Processing by TemplateAssertionsController#render_nothing as HTML
4594
+ Completed 200 OK in 0ms
4595
+ ------------------------------------------------------------------
4596
+ TemplateAssertionsControllerTest: test_passed_with_no_layout_false
4597
+ ------------------------------------------------------------------
4598
+ Processing by TemplateAssertionsController#render_with_template as HTML
4599
+ Rendering test/hello_world.html.erb
4600
+ Rendered test/hello_world.html.erb (0.0ms)
4601
+ Completed 200 OK in 0ms (Views: 0.4ms)
4602
+ -------------------------------------------------------------------------------------
4603
+ TemplateAssertionsControllerTest: test_with_empty_string_fails_when_template_rendered
4604
+ -------------------------------------------------------------------------------------
4605
+ Processing by TemplateAssertionsController#render_with_template as HTML
4606
+ Rendering test/hello_world.html.erb
4607
+ Rendered test/hello_world.html.erb (0.0ms)
4608
+ Completed 200 OK in 0ms (Views: 0.4ms)
4609
+ --------------------------------------------------------
4610
+ TemplateAssertionsControllerTest: test_with_file_failure
4611
+ --------------------------------------------------------
4612
+ Processing by TemplateAssertionsController#render_file_absolute_path as HTML
4613
+ Rendering README.rdoc
4614
+ Rendered README.rdoc (0.1ms)
4615
+ Completed 200 OK in 1ms (Views: 0.5ms)
4616
+ Processing by TemplateAssertionsController#render_file_absolute_path as HTML
4617
+ Rendering README.rdoc
4618
+ Rendered README.rdoc (0.0ms)
4619
+ Completed 200 OK in 1ms (Views: 0.6ms)
4620
+ -----------------------------------------------------------------
4621
+ TemplateAssertionsControllerTest: test_passes_with_correct_layout
4622
+ -----------------------------------------------------------------
4623
+ Processing by TemplateAssertionsController#render_with_layout as HTML
4624
+ Rendering test/hello_world.html.erb within layouts/standard
4625
+ Rendered test/hello_world.html.erb within layouts/standard (0.1ms)
4626
+ Completed 200 OK in 1ms (Views: 0.6ms)
4627
+ ---------------------------------------------------
4628
+ TemplateAssertionsControllerTest: test_with_partial
4629
+ ---------------------------------------------------
4630
+ Processing by TemplateAssertionsController#render_with_partial as HTML
4631
+ Rendered test/_partial.html.erb (0.0ms)
4632
+ Completed 200 OK in 0ms (Views: 0.3ms)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-controller-testing
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rails Core Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-30 00:00:00.000000000 Z
11
+ date: 2018-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack