diff options
| author | Eileen M. Uchitelle <eileencodes@users.noreply.github.com> | 2018-01-29 14:00:48 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-01-29 14:00:48 -0500 |
| commit | ef83c41724e7d359b6f8ffd5e0918754823bedf3 (patch) | |
| tree | 6b61827018097df596f58b1bb965965a0d045675 | |
| parent | 7ae26885d96daee3809d0bd50b1a440c2f5ffb69 (diff) | |
| parent | c8bf6da46590bcf6bb4253bc4ba069a442c6b776 (diff) | |
| download | rails-ef83c41724e7d359b6f8ffd5e0918754823bedf3.tar.gz rails-ef83c41724e7d359b6f8ffd5e0918754823bedf3.tar.bz2 rails-ef83c41724e7d359b6f8ffd5e0918754823bedf3.zip | |
Merge pull request #31825 from mistydemeo/fix_post_documentation
ActionController::TestCase: fix #post documentation
| -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 |
