提交 0965be14 编写于 作者: R Rafael Mendonça França

Merge pull request #20529 from pwnall/kwargs_docs

Update RDoc for ActionController::TestCase for kwargs.
......@@ -165,7 +165,7 @@ def load!
# class BooksControllerTest < ActionController::TestCase
# def test_create
# # Simulate a POST response with the given HTTP parameters.
# post(:create, book: { title: "Love Hina" })
# post(:create, params: { book: { title: "Love Hina" }})
#
# # Assert that the controller tried to redirect us to
# # the created book's URI.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册