Browse files

Merge pull request #14477 from fcheung/options_test_method

Support the options methods in tests
  • Loading branch information...
2 parents 10b6895 + 3ed5104 commit 3fd15f484c2e0ddd8e4142d8c644767320920146 @rafaelfranca rafaelfranca committed Mar 25, 2014
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.

0 comments on commit 3fd15f4

Please sign in to comment.