instance method assert_template

Ruby on Rails 5.2.8.1

Since v3.0.20 Last seen in v5.2.8.1

Available in: v3.0.20 v3.1.12 v3.2.22.5 v4.0.13 v4.1.16 v4.2.9 v5.2.8.1

Signature

assert_template(options = {}, message = nil)

No documentation comment.

Parameters

options opt = {}
message opt = nil
Source
# 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

Defined in actionpack/lib/action_controller/template_assertions.rb line 5 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionController::TemplateAssertions

Type at least 2 characters to search.

↑↓ navigate · open · esc close