diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-10-06 19:16:26 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-10-06 19:16:26 -0300 |
commit | f668ab9adf85d3662067a8216c5b52b934c2167f (patch) | |
tree | 3914fbd91156bb1364a739f7243bd2ef19449fb4 /actionpack/test/controller/render_test.rb | |
parent | 92d761237ea9372fefd2c4e514f7f8290eb28d1e (diff) | |
download | rails-f668ab9adf85d3662067a8216c5b52b934c2167f.tar.gz rails-f668ab9adf85d3662067a8216c5b52b934c2167f.tar.bz2 rails-f668ab9adf85d3662067a8216c5b52b934c2167f.zip |
Use the Ruby 1.8 hash syntax
Diffstat (limited to 'actionpack/test/controller/render_test.rb')
-rw-r--r-- | actionpack/test/controller/render_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/render_test.rb b/actionpack/test/controller/render_test.rb index fac48df323..8c631e218f 100644 --- a/actionpack/test/controller/render_test.rb +++ b/actionpack/test/controller/render_test.rb @@ -1410,7 +1410,7 @@ class RenderTest < ActionController::TestCase $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 |