diff --git a/actionpack/test/template/render_test.rb b/actionpack/test/template/render_test.rb index 229766612f36b..c17bec891b722 100644 --- a/actionpack/test/template/render_test.rb +++ b/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