class Shoulda::Matchers::ActionController::StrongParametersMatcher::VerbNotDefinedError

Public Instance Methods

message() click to toggle source
# File lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb, line 124
def message
  'You must specify an HTTP verb when using a non-RESTful action. For example: for(:authorize, verb: :post)'
end