From 2e62d53c2fac124180c78b0fe337d70642126329 Mon Sep 17 00:00:00 2001 From: Juanito Fatas Date: Sat, 31 Jan 2015 20:58:08 +0800 Subject: Fix a typo in deprecation warning. #process takes method instead of http_method. --- actionpack/lib/action_controller/test_case.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actionpack/lib/action_controller/test_case.rb b/actionpack/lib/action_controller/test_case.rb index 4d2a3c712b..afe95e3fec 100644 --- a/actionpack/lib/action_controller/test_case.rb +++ b/actionpack/lib/action_controller/test_case.rb @@ -755,7 +755,7 @@ module ActionController Examples: get :show, params: { id: 1 }, session: { user_id: 1 } - process :update, http_method: :post, params: { id: 1 } + process :update, method: :post, params: { id: 1 } MSG end -- cgit v1.2.3