Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #14477 from fcheung/options_test_method

Support the options methods in tests
  • Loading branch information...
commit 3fd15f484c2e0ddd8e4142d8c644767320920146 2 parents 10b6895 + 3ed5104
@rafaelfranca rafaelfranca authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/lib/action_controller/test_case.rb
View
4 actionpack/lib/action_controller/test_case.rb
@@ -486,8 +486,8 @@ def prepare_controller_class(new_class)
# - +session+: A hash of parameters to store in the session. This may be +nil+.
# - +flash+: A hash of parameters to store in the flash. This may be +nil+.
#
- # You can also simulate POST, PATCH, PUT, DELETE, HEAD, and OPTIONS requests with
- # +post+, +patch+, +put+, +delete+, +head+, and +options+.
+ # You can also simulate POST, PATCH, PUT, DELETE, and HEAD requests with
+ # +post+, +patch+, +put+, +delete+, and +head+.
#
# Note that the request method is not verified. The different methods are
# available to make the tests more expressive.
Please sign in to comment.
Something went wrong with that request. Please try again.