Methods
S
T
Instance Public methods
setup()
# File actionview/test/actionpack/abstract/helper_test.rb, line 61
def setup
  @controller = AbstractHelpers.new
end
test_declare_missing_helper()
# File actionview/test/actionpack/abstract/helper_test.rb, line 80
def test_declare_missing_helper
  e = assert_raise AbstractController::Helpers::MissingHelperError do
    AbstractHelpers.helper :missing
  end
  assert_equal "helpers/missing_helper.rb", e.path
end
test_helpers_with_block()
# File actionview/test/actionpack/abstract/helper_test.rb, line 65
def test_helpers_with_block
  @controller.process(:with_block)
  assert_equal "Hello World", @controller.response_body
end
test_helpers_with_module()
# File actionview/test/actionpack/abstract/helper_test.rb, line 70
def test_helpers_with_module
  @controller.process(:with_module)
  assert_equal "Module Included", @controller.response_body
end
test_helpers_with_module_through_block()
# File actionview/test/actionpack/abstract/helper_test.rb, line 87
def test_helpers_with_module_through_block
  @controller = AbstractHelpersBlock.new
  @controller.process(:with_module)
  assert_equal "Module Included", @controller.response_body
end
test_helpers_with_symbol()
# File actionview/test/actionpack/abstract/helper_test.rb, line 75
def test_helpers_with_symbol
  @controller.process(:with_symbol)
  assert_equal "I respond to bare_a: true", @controller.response_body
end