123456789_123456789_123456789_123456789_123456789_

Module: ActionController::TemplateAssertions

Instance Method Summary

Instance Method Details

#assert_template(options = {}, message = nil)

Raises:

  • (NoMethodError)
[ GitHub ]

  
# 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