diff options
author | Tony Ta <tonyta.tt@gmail.com> | 2015-12-15 22:23:46 -0800 |
---|---|---|
committer | Tony Ta <tonyta.tt@gmail.com> | 2015-12-15 22:28:50 -0800 |
commit | 2eda1a98e04f8c6338191d599290208dc1cd21ee (patch) | |
tree | 5dc645a92c8ff9e81eff73474864a96b13eedb19 /actionpack/test/controller | |
parent | becf1bcb1d6e72e782995507ebc89d75db357184 (diff) | |
download | rails-2eda1a98e04f8c6338191d599290208dc1cd21ee.tar.gz rails-2eda1a98e04f8c6338191d599290208dc1cd21ee.tar.bz2 rails-2eda1a98e04f8c6338191d599290208dc1cd21ee.zip |
deletes code commented out in 72160d9f
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r-- | actionpack/test/controller/helper_test.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/actionpack/test/controller/helper_test.rb b/actionpack/test/controller/helper_test.rb index 3ecfedefd1..feb882a2b3 100644 --- a/actionpack/test/controller/helper_test.rb +++ b/actionpack/test/controller/helper_test.rb @@ -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 |