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

                             

                           
                                                    


                                                                           


       
# frozen_string_literal: true

module ActionController
  module TemplateAssertions
    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