diff options
author | Xavier Noria <fxn@hashref.com> | 2011-03-26 22:33:44 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2011-04-13 13:24:32 +0200 |
commit | 7c9d91f53eba513a7fb79fb9b01da2fa324c461f (patch) | |
tree | 261722bcdcd97b785cdca0488233d601a0377b7a /actionpack/test | |
parent | 90de26703e6e5243ebb5fffc513780f8c69c71b4 (diff) | |
download | rails-7c9d91f53eba513a7fb79fb9b01da2fa324c461f.tar.gz rails-7c9d91f53eba513a7fb79fb9b01da2fa324c461f.tar.bz2 rails-7c9d91f53eba513a7fb79fb9b01da2fa324c461f.zip |
removes render :update from views
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/template/render_test.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/actionpack/test/template/render_test.rb b/actionpack/test/template/render_test.rb index dd86bfed04..bce11c4dd3 100644 --- a/actionpack/test/template/render_test.rb +++ b/actionpack/test/template/render_test.rb @@ -68,10 +68,6 @@ module RenderTestCases assert_equal "The secret is in the sauce\n", @view.render(:file => "test/dot.directory/render_file_with_ivar") end - def test_render_update - assert_equal 'alert("Hello, World!");', @view.render(:update) { |page| page.alert('Hello, World!') } - end - def test_render_partial_from_default assert_equal "only partial", @view.render("test/partial_only") end |