Permalink
Browse files

Removing unnecessary code from render_test

Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information...
1 parent 08187ef commit 7698596adb0f94a052055e4fb931dffe3fb5361d @thiagopradi thiagopradi committed with josevalim Sep 1, 2010
Showing with 0 additions and 2 deletions.
  1. +0 −2 actionpack/test/template/render_test.rb
@@ -69,8 +69,6 @@ def test_render_file_not_using_full_path_with_dot_in_path
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

0 comments on commit 7698596

Please sign in to comment.