aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2015-06-12 01:35:06 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2015-06-12 01:35:06 -0300
commit0965be14e22c4d1fd6befda4fd3efb942e0701ca (patch)
treeaa82073b4be1a94105788f3a70c3d11b030582df
parentfcbd2e821e12fdf66ad2f28e97992a7cd75f529e (diff)
parenteb8042494fc2e2e378de75867e9bdd5ae58fc601 (diff)
downloadrails-0965be14e22c4d1fd6befda4fd3efb942e0701ca.tar.gz
rails-0965be14e22c4d1fd6befda4fd3efb942e0701ca.tar.bz2
rails-0965be14e22c4d1fd6befda4fd3efb942e0701ca.zip
Merge pull request #20529 from pwnall/kwargs_docs
Update RDoc for ActionController::TestCase for kwargs.
-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.