Module: ActionController::TemplateAssertions

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

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

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

Raises:

  • (NoMethodError)


7
8
9
10
11
# File 'lib/action_controller/template_assertions.rb', line 7

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