class AbstractController::Testing::ClearHelpersTest
Public Instance Methods
setup()
click to toggle source
# File actionview/test/actionpack/abstract/helper_test.rb, line 96 def setup @controller = HelperyTestController.new end
test_clears_up_previous_helpers()
click to toggle source
# File actionview/test/actionpack/abstract/helper_test.rb, line 100 def test_clears_up_previous_helpers @controller.process(:with_symbol) assert_equal "I respond to bare_a: false", @controller.response_body end
test_includes_controller_default_helper()
click to toggle source
# File actionview/test/actionpack/abstract/helper_test.rb, line 105 def test_includes_controller_default_helper @controller.process(:with_block) assert_equal "Hello Default", @controller.response_body end