diff options
author | Misty De Meo <mistydemeo@github.com> | 2018-01-29 10:43:30 -0800 |
---|---|---|
committer | Misty De Meo <mistydemeo@github.com> | 2018-01-29 10:59:03 -0800 |
commit | c8bf6da46590bcf6bb4253bc4ba069a442c6b776 (patch) | |
tree | 6b61827018097df596f58b1bb965965a0d045675 /actionpack/lib/action_controller | |
parent | 7ae26885d96daee3809d0bd50b1a440c2f5ffb69 (diff) | |
download | rails-c8bf6da46590bcf6bb4253bc4ba069a442c6b776.tar.gz rails-c8bf6da46590bcf6bb4253bc4ba069a442c6b776.tar.bz2 rails-c8bf6da46590bcf6bb4253bc4ba069a442c6b776.zip |
ActionController::TestCase: fix #post documentation [ci skip]
Fixes #31823.
Diffstat (limited to 'actionpack/lib/action_controller')
-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 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 |