Methods
T
Instance Public methods
test_controller_raise_error_about_missing_helper()
# File actionview/test/actionpack/abstract/helper_test.rb, line 116
def test_controller_raise_error_about_missing_helper
  e = assert_raise(AbstractController::Helpers::MissingHelperError) { AbstractInvalidHelpers.helper(:missing) }
  assert_equal "Missing helper file helpers/missing_helper.rb", e.message
end
test_controller_raise_error_about_real_require_problem()
# File actionview/test/actionpack/abstract/helper_test.rb, line 111
def test_controller_raise_error_about_real_require_problem
  e = assert_raise(LoadError) { AbstractInvalidHelpers.helper(:invalid_require) }
  assert_equal "No such file to load -- very_invalid_file_name", e.message
end
test_missing_helper_error_has_the_right_path()
# File actionview/test/actionpack/abstract/helper_test.rb, line 121
def test_missing_helper_error_has_the_right_path
  e = assert_raise(AbstractController::Helpers::MissingHelperError) { AbstractInvalidHelpers.helper(:missing) }
  assert_equal "helpers/missing_helper.rb", e.path
end