mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
deletes code commented out in 72160d9f
This commit is contained in:
parent
becf1bcb1d
commit
2eda1a98e0
1 changed files with 0 additions and 10 deletions
|
@ -141,20 +141,10 @@ class HelperTest < ActiveSupport::TestCase
|
|||
def test_helper_for_nested_controller
|
||||
assert_equal 'hello: Iz guuut!',
|
||||
call_controller(Fun::GamesController, "render_hello_world").last.body
|
||||
# request = ActionController::TestRequest.new
|
||||
#
|
||||
# resp = Fun::GamesController.action(:render_hello_world).call(request.env)
|
||||
# assert_equal 'hello: Iz guuut!', resp.last.body
|
||||
end
|
||||
|
||||
def test_helper_for_acronym_controller
|
||||
assert_equal "test: baz", call_controller(Fun::PdfController, "test").last.body
|
||||
#
|
||||
# request = ActionController::TestRequest.new
|
||||
# response = ActionDispatch::TestResponse.new
|
||||
# request.action = 'test'
|
||||
#
|
||||
# assert_equal 'test: baz', Fun::PdfController.process(request, response).body
|
||||
end
|
||||
|
||||
def test_default_helpers_only
|
||||
|
|
Loading…
Reference in a new issue