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:
parent
08187efa5b
commit
7698596adb
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue