diff options
author | eileencodes <eileencodes@gmail.com> | 2016-01-28 14:52:37 -0500 |
---|---|---|
committer | eileencodes <eileencodes@gmail.com> | 2016-01-28 14:52:37 -0500 |
commit | 457de3757e7c1af9e1c99b9021951c04c9d83ace (patch) | |
tree | db05031f4d3a2d0eb23348f6adc84ad2c3d3b38e /actionpack/test/controller/render_test.rb | |
parent | 81a44518fe1a86e58b21ad46f2cd8302b13203b8 (diff) | |
download | rails-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.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 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 |