diff options
author | Steven Harman <steven@harmanly.com> | 2016-07-21 15:29:24 -0400 |
---|---|---|
committer | Steven Harman <steven@harmanly.com> | 2016-07-26 10:38:58 -0400 |
commit | 578096b9712a018b0241cb051dc0051239f62193 (patch) | |
tree | 9f961e01e1572c0a9e9681f8088daa16ee3e815d /actionview | |
parent | ae75930b59e7b41133c5a62c09da3c02309f81f3 (diff) | |
download | rails-578096b9712a018b0241cb051dc0051239f62193.tar.gz rails-578096b9712a018b0241cb051dc0051239f62193.tar.bz2 rails-578096b9712a018b0241cb051dc0051239f62193.zip |
Use Ruby >= 1.9 hash syntax as is the preference
Diffstat (limited to 'actionview')
-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 |