提交 3fd15f48 编写于 作者: R Rafael Mendonça França

Merge pull request #14477 from fcheung/options_test_method

Support the options methods in tests
......@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册