aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/template_assertions.rb
blob: ec44dbe15704a811a9705c09e4fa2ca50ff9a638 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

module ActionController
  module TemplateAssertions # :nodoc:
    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
  end
end