Module: ActionController::TemplateAssertions

Included in:
ActionDispatch::IntegrationTest::Behavior, ActionView::TestCase::Behavior
Defined in:
actionpack/lib/action_controller/template_assertions.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

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

Raises:

  • (NoMethodError)


5
6
7
8
9
# File 'actionpack/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