1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Removing unnecessary code from render_test

Signed-off-by: José Valim <jose.valim@gmail.com>
This commit is contained in:
Thiago Pradi 2010-09-01 19:46:24 -03:00 committed by José Valim
parent 08187efa5b
commit 7698596adb

View file

@ -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