instance method
assert_template
Ruby on Rails 5.2.8.1
Since v3.0.20 Last seen in v5.2.8.1Signature
assert_template(options = {}, message = nil)
No documentation comment.
Parameters
-
optionsopt = {} -
messageopt = nil
Source
# File actionpack/lib/action_controller/template_assertions.rb, line 5
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
Defined in actionpack/lib/action_controller/template_assertions.rb line 5
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::TemplateAssertions