123456789_123456789_123456789_123456789_123456789_

Module: ActionController::TemplateAssertions

Do not use. This module is for internal use only.

Instance Method Summary

Instance Method Details

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

Raises:

  • (NoMethodError)
[ GitHub ]

  
# File 'actionpack/lib/action_controller/template_assertions.rb', line 7

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