aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
diff options
context:
space:
mode:
authorVictor Costan <costan@gmail.com>2015-06-12 00:03:49 -0400
committerVictor Costan <costan@gmail.com>2015-06-12 00:03:49 -0400
commiteb8042494fc2e2e378de75867e9bdd5ae58fc601 (patch)
treeaa82073b4be1a94105788f3a70c3d11b030582df /actionpack/lib/action_controller
parentfcbd2e821e12fdf66ad2f28e97992a7cd75f529e (diff)
downloadrails-eb8042494fc2e2e378de75867e9bdd5ae58fc601.tar.gz
rails-eb8042494fc2e2e378de75867e9bdd5ae58fc601.tar.bz2
rails-eb8042494fc2e2e378de75867e9bdd5ae58fc601.zip
Update RDoc for ActionController::TestCase for kwargs.
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r--actionpack/lib/action_controller/test_case.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/test_case.rb b/actionpack/lib/action_controller/test_case.rb
index d34149143f..96f161fb09 100644
--- a/actionpack/lib/action_controller/test_case.rb
+++ b/actionpack/lib/action_controller/test_case.rb
@@ -165,7 +165,7 @@ module ActionController
# 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.