From f668ab9adf85d3662067a8216c5b52b934c2167f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Sat, 6 Oct 2012 19:16:26 -0300 Subject: Use the Ruby 1.8 hash syntax --- actionpack/test/controller/render_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/test') 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 -- cgit v1.2.3