Skip to content

Commit

Permalink
Merge pull request #14477 from fcheung/options_test_method
Browse files Browse the repository at this point in the history
Support the options methods in tests
  • Loading branch information
rafaelfranca committed Mar 25, 2014
2 parents 10b6895 + 3ed5104 commit 3fd15f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actionpack/lib/action_controller/test_case.rb
Expand Up @@ -486,8 +486,8 @@ def prepare_controller_class(new_class)
# - +session+: A hash of parameters to store in the session. This may be +nil+. # - +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+. # - +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 # You can also simulate POST, PATCH, PUT, DELETE, and HEAD requests with
# +post+, +patch+, +put+, +delete+, +head+, and +options+. # +post+, +patch+, +put+, +delete+, and +head+.
# #
# Note that the request method is not verified. The different methods are # Note that the request method is not verified. The different methods are
# available to make the tests more expressive. # available to make the tests more expressive.
Expand Down

0 comments on commit 3fd15f4

Please sign in to comment.