2017-07-24 20:20:53 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2015-05-09 12:13:47 +00:00
|
|
|
module ActionController
|
2019-05-22 15:55:32 +00:00
|
|
|
module TemplateAssertions # :nodoc:
|
2015-05-09 12:13:47 +00:00
|
|
|
def assert_template(options = {}, message = nil)
|
2015-05-13 10:28:33 +00:00
|
|
|
raise NoMethodError,
|
|
|
|
"assert_template has been extracted to a gem. To continue using it,
|
|
|
|
add `gem 'rails-controller-testing'` to your Gemfile."
|
2015-05-09 12:13:47 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|