diff options
author | Sam Stephenson <sam@37signals.com> | 2006-01-23 17:09:15 +0000 |
---|---|---|
committer | Sam Stephenson <sam@37signals.com> | 2006-01-23 17:09:15 +0000 |
commit | 9c52a41241a632315edb77381240b66a7cc5aef4 (patch) | |
tree | 872352d82ff875e7d4ddd43c0f1adbc714e8282f /actionpack/test/controller | |
parent | 185cca238bc1df79a3bb438679bbbeb980f82078 (diff) | |
download | rails-9c52a41241a632315edb77381240b66a7cc5aef4.tar.gz rails-9c52a41241a632315edb77381240b66a7cc5aef4.tar.bz2 rails-9c52a41241a632315edb77381240b66a7cc5aef4.zip |
Add the ability to call JavaScriptGenerator methods from helpers called in update blocks
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3476 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r-- | actionpack/test/controller/new_render_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/new_render_test.rb b/actionpack/test/controller/new_render_test.rb index cb42142611..0208912ece 100644 --- a/actionpack/test/controller/new_render_test.rb +++ b/actionpack/test/controller/new_render_test.rb @@ -490,7 +490,7 @@ class NewRenderTest < Test::Unit::TestCase def test_update_page get :update_page assert_template nil - assert_equal 'text/javascript', @response.headers['Content-type'] + assert_equal 'text/javascript', @response.headers['Content-Type'] assert_equal 2, @response.body.split($/).length end |