aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
diff options
context:
space:
mode:
authorArthur Neves <arthurnn@gmail.com>2016-03-01 22:43:11 -0500
committerArthur Neves <arthurnn@gmail.com>2016-03-01 22:43:11 -0500
commit54ebd0aea2e68048167b329196674887430d06a5 (patch)
treeeeeb78bd0658bdc2ccc3d2509df4b9446b7c399a /actionpack/test/controller
parent0c376e7ec800b529b9430fee1377b82682200981 (diff)
downloadrails-54ebd0aea2e68048167b329196674887430d06a5.tar.gz
rails-54ebd0aea2e68048167b329196674887430d06a5.tar.bz2
rails-54ebd0aea2e68048167b329196674887430d06a5.zip
fix 1.8 hash syntax
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r--actionpack/test/controller/render_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/render_test.rb b/actionpack/test/controller/render_test.rb
index de80b78272..7e62cb73dd 100644
--- a/actionpack/test/controller/render_test.rb
+++ b/actionpack/test/controller/render_test.rb
@@ -1693,7 +1693,7 @@ class MetalRenderWithoutAVTest < ActionController::TestCase
def test_dynamic_params_render
e = assert_raises ArgumentError do
- get :dynamic_params_render, { inline: '<%= RUBY_VERSION %>' }
+ get :dynamic_params_render, { :inline => '<%= RUBY_VERSION %>' }
end
assert_equal "render parameters are not permitted", e.message
end