Module: ActionController::TemplateAssertions

Included in:
ActionDispatch::IntegrationTest::Behavior
Defined in:
lib/action_controller/template_assertions.rb

Instance Method Summary collapse

Instance Method Details

#assert_template(options = {}, message = nil) ⇒ Object

Raises:

  • (NoMethodError)


3
4
5
6
7
# File 'lib/action_controller/template_assertions.rb', line 3

def assert_template(options = {}, message = nil)
  raise NoMethodError,
    "assert_template has been extracted to a gem. To continue using it,
    add `gem 'rails-controller-testing'` to your Gemfile."
end