diff options
-rw-r--r-- | actionview/test/template/render_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/test/template/render_test.rb b/actionview/test/template/render_test.rb index e991fae491..68574d4adb 100644 --- a/actionview/test/template/render_test.rb +++ b/actionview/test/template/render_test.rb @@ -314,7 +314,7 @@ module RenderTestCases y.yield(Customer.new("david")) y.yield(Customer.new("mary")) end - assert_equal "Hello: davidHello: mary", @view.render(:partial => "test/customer", collection: customers) + assert_equal "Hello: davidHello: mary", @view.render(partial: "test/customer", collection: customers) end def test_render_partial_without_object_does_not_put_partial_name_to_local_assigns |