diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-03-25 09:39:33 -0500 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-03-25 09:39:33 -0500 |
commit | 3fd15f484c2e0ddd8e4142d8c644767320920146 (patch) | |
tree | f9f6ba5af4093723ac5200679fb4312e873f0ffa /actionpack | |
parent | 10b68955dc4a82291d97d4df72338434d7743be6 (diff) | |
parent | 3ed5104acf323eff89be0344f6fca1f1e82fdfe5 (diff) | |
download | rails-3fd15f484c2e0ddd8e4142d8c644767320920146.tar.gz rails-3fd15f484c2e0ddd8e4142d8c644767320920146.tar.bz2 rails-3fd15f484c2e0ddd8e4142d8c644767320920146.zip |
Merge pull request #14477 from fcheung/options_test_method
Support the options methods in tests
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/test_case.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/test_case.rb b/actionpack/lib/action_controller/test_case.rb index e9166d8747..df57efaa97 100644 --- a/actionpack/lib/action_controller/test_case.rb +++ b/actionpack/lib/action_controller/test_case.rb @@ -486,8 +486,8 @@ module ActionController # - +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. |