mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #31825 from mistydemeo/fix_post_documentation
ActionController::TestCase: fix #post documentation
This commit is contained in:
commit
ef83c41724
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ module ActionController
|
||||||
#
|
#
|
||||||
# def test_create
|
# def test_create
|
||||||
# json = {book: { title: "Love Hina" }}.to_json
|
# json = {book: { title: "Love Hina" }}.to_json
|
||||||
# post :create, json
|
# post :create, body: json
|
||||||
# end
|
# end
|
||||||
#
|
#
|
||||||
# == Special instance variables
|
# == Special instance variables
|
||||||
|
|
Loading…
Reference in a new issue