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)


5
6
7
8
9
# File 'lib/action_controller/template_assertions.rb', line 5

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