Skip to content

Commit

Permalink
Use the Ruby 1.8 hash syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfranca committed Oct 6, 2012
1 parent 92d7612 commit f668ab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/test/controller/render_test.rb
Expand Up @@ -1410,7 +1410,7 @@ def test_locals_option_to_assert_template_is_not_supported
$stderr = warning_buffer

get :partial_collection_with_locals
assert_template partial: 'customer_greeting', locals: { greeting: 'Bonjour' }
assert_template :partial => 'customer_greeting', :locals => { :greeting => 'Bonjour' }
assert_equal "the :locals option to #assert_template is only supported in a ActionView::TestCase\n", warning_buffer.string
ensure
$stderr = STDERR
Expand Down

0 comments on commit f668ab9

Please sign in to comment.