Exception: Shoulda::Matchers::ActionController::PermitMatcher::VerbNotDefinedError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/shoulda/matchers/action_controller/permit_matcher.rb

Instance Method Summary collapse

Instance Method Details

#messageObject



437
438
439
440
# File 'lib/shoulda/matchers/action_controller/permit_matcher.rb', line 437

def message
  'You must specify an HTTP verb when using a non-RESTful action.'\
  ' For example: for(:authorize, verb: :post)'
end