From c8bf6da46590bcf6bb4253bc4ba069a442c6b776 Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Mon, 29 Jan 2018 10:43:30 -0800 Subject: ActionController::TestCase: fix #post documentation [ci skip] Fixes #31823. --- actionpack/lib/action_controller/test_case.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib') 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 -- cgit v1.2.3