Monday, November 09, 2015

ActionController::UnknownHttpMethod:

In Rails 4.x:

In your tests, call process method like this:

 process :some_action, 'OPTIONS'