diff options
author | Victor Costan <costan@gmail.com> | 2015-06-12 00:03:49 -0400 |
---|---|---|
committer | Victor Costan <costan@gmail.com> | 2015-06-12 00:03:49 -0400 |
commit | eb8042494fc2e2e378de75867e9bdd5ae58fc601 (patch) | |
tree | aa82073b4be1a94105788f3a70c3d11b030582df /actionpack | |
parent | fcbd2e821e12fdf66ad2f28e97992a7cd75f529e (diff) | |
download | rails-eb8042494fc2e2e378de75867e9bdd5ae58fc601.tar.gz rails-eb8042494fc2e2e378de75867e9bdd5ae58fc601.tar.bz2 rails-eb8042494fc2e2e378de75867e9bdd5ae58fc601.zip |
Update RDoc for ActionController::TestCase for kwargs.
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/test_case.rb | 2 |
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. |