aboutsummaryrefslogblamecommitdiffstats
path: root/actionpack/lib/action_controller/template_assertions.rb
blob: ec44dbe15704a811a9705c09e4fa2ca50ff9a638 (plain) (tree)
1
2
3
4
5
6
7
8

                             
                       
                                     
                                                    


                                                                           


       
# 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