mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Use Ruby >= 1.9 hash syntax as is the preference
This commit is contained in:
parent
ae75930b59
commit
578096b971
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue