Exception: Shoulda::Matchers::ActionController::PermitMatcher::VerbNotDefinedError
- Inherits:
-
StandardError
- Object
- StandardError
- Shoulda::Matchers::ActionController::PermitMatcher::VerbNotDefinedError
- Defined in:
- lib/shoulda/matchers/action_controller/permit_matcher.rb
Instance Method Summary collapse
Instance Method Details
#message ⇒ Object
437 438 439 440 |
# File 'lib/shoulda/matchers/action_controller/permit_matcher.rb', line 437 def 'You must specify an HTTP verb when using a non-RESTful action.'\ ' For example: for(:authorize, verb: :post)' end |