diff options
author | Thiago Pradi <tchandy@gmail.com> | 2010-09-01 19:46:24 -0300 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-09-02 11:51:01 +0200 |
commit | 7698596adb0f94a052055e4fb931dffe3fb5361d (patch) | |
tree | c498be4c80967487e319c184ad9e90ce91ce8404 /actionpack/test | |
parent | 08187efa5ba062f0c1ba66b62ae42399fb8defaf (diff) | |
download | rails-7698596adb0f94a052055e4fb931dffe3fb5361d.tar.gz rails-7698596adb0f94a052055e4fb931dffe3fb5361d.tar.bz2 rails-7698596adb0f94a052055e4fb931dffe3fb5361d.zip |
Removing unnecessary code from render_test
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/template/render_test.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/actionpack/test/template/render_test.rb b/actionpack/test/template/render_test.rb index 229766612f..c17bec891b 100644 --- a/actionpack/test/template/render_test.rb +++ b/actionpack/test/template/render_test.rb @@ -69,8 +69,6 @@ module RenderTestCases end def test_render_update - # TODO: You should not have to stub out template because template is self! - @view.instance_variable_set(:@template, @view) assert_equal 'alert("Hello, World!");', @view.render(:update) { |page| page.alert('Hello, World!') } end |