aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/render_test.rb
diff options
context:
space:
mode:
authoreileencodes <eileencodes@gmail.com>2016-01-28 14:52:37 -0500
committereileencodes <eileencodes@gmail.com>2016-01-28 14:52:37 -0500
commit457de3757e7c1af9e1c99b9021951c04c9d83ace (patch)
treedb05031f4d3a2d0eb23348f6adc84ad2c3d3b38e /actionpack/test/controller/render_test.rb
parent81a44518fe1a86e58b21ad46f2cd8302b13203b8 (diff)
downloadrails-457de3757e7c1af9e1c99b9021951c04c9d83ace.tar.gz
rails-457de3757e7c1af9e1c99b9021951c04c9d83ace.tar.bz2
rails-457de3757e7c1af9e1c99b9021951c04c9d83ace.zip
Fix hash syntax for 1.8.7
Rails 3.2 supports 1.8.7 but 1.8.7 does not support the new hash syntax.
Diffstat (limited to 'actionpack/test/controller/render_test.rb')
-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 69469104dd..90fe2fb653 100644
--- a/actionpack/test/controller/render_test.rb
+++ b/actionpack/test/controller/render_test.rb
@@ -258,7 +258,7 @@ class TestController < ActionController::Base
file.write "secrets!"
file.flush
assert_raises ActionView::MissingTemplate do
- response = get :dynamic_render, { id: file.path }
+ response = get :dynamic_render, { :id => file.path }
end
ensure
file.unlink