mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Update RDoc for ActionController::TestCase for kwargs.
This commit is contained in:
parent
fcbd2e821e
commit
eb8042494f
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ module ActionController
|
||||||
# class BooksControllerTest < ActionController::TestCase
|
# class BooksControllerTest < ActionController::TestCase
|
||||||
# def test_create
|
# def test_create
|
||||||
# # Simulate a POST response with the given HTTP parameters.
|
# # 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
|
# # Assert that the controller tried to redirect us to
|
||||||
# # the created book's URI.
|
# # the created book's URI.
|
||||||
|
|
Loading…
Reference in a new issue