Methods
S
T
Instance Public methods
setup()
# File actionpack/test/abstract/helper_test.rb, line 52
def setup
  @controller = AbstractHelpers.new
end
test_declare_missing_helper()
# File actionpack/test/abstract/helper_test.rb, line 71
def test_declare_missing_helper
  assert_raise(MissingSourceFile) { AbstractHelpers.helper :missing }
end
test_helpers_with_block()
# File actionpack/test/abstract/helper_test.rb, line 56
def test_helpers_with_block
  @controller.process(:with_block)
  assert_equal "Hello World", @controller.response_body
end
test_helpers_with_module()
# File actionpack/test/abstract/helper_test.rb, line 61
def test_helpers_with_module
  @controller.process(:with_module)
  assert_equal "Module Included", @controller.response_body
end
test_helpers_with_module_through_block()
# File actionpack/test/abstract/helper_test.rb, line 75
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 actionpack/test/abstract/helper_test.rb, line 66
def test_helpers_with_symbol
  @controller.process(:with_symbol)
  assert_equal "I respond to bare_a: true", @controller.response_body
end