aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/template_assertions.rb
blob: 0179f4afcd63b101c33a14fea53b316056f5bacf (plain) (blame)
1
2
3
4
5
6
7
8
9
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