aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorEileen M. Uchitelle <eileencodes@users.noreply.github.com>2018-01-29 14:00:48 -0500
committerGitHub <noreply@github.com>2018-01-29 14:00:48 -0500
commitef83c41724e7d359b6f8ffd5e0918754823bedf3 (patch)
tree6b61827018097df596f58b1bb965965a0d045675 /actionpack
parent7ae26885d96daee3809d0bd50b1a440c2f5ffb69 (diff)
parentc8bf6da46590bcf6bb4253bc4ba069a442c6b776 (diff)
downloadrails-ef83c41724e7d359b6f8ffd5e0918754823bedf3.tar.gz
rails-ef83c41724e7d359b6f8ffd5e0918754823bedf3.tar.bz2
rails-ef83c41724e7d359b6f8ffd5e0918754823bedf3.zip
Merge pull request #31825 from mistydemeo/fix_post_documentation
ActionController::TestCase: fix #post documentation
Diffstat (limited to 'actionpack')
-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 4b408750a4..798d142755 100644
--- a/actionpack/lib/action_controller/test_case.rb
+++ b/actionpack/lib/action_controller/test_case.rb
@@ -256,7 +256,7 @@ module ActionController
#
# def test_create
# json = {book: { title: "Love Hina" }}.to_json
- # post :create, json
+ # post :create, body: json
# end
#
# == Special instance variables