aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorJuanito Fatas <katehuang0320@gmail.com>2015-01-31 20:58:08 +0800
committerJuanito Fatas <katehuang0320@gmail.com>2015-01-31 20:58:08 +0800
commit2e62d53c2fac124180c78b0fe337d70642126329 (patch)
tree273df2baa180f218b69aab1d6afa7c12548e711f /actionpack
parent0ddf2eb9acc268481fbe70ebd3145185e36204d3 (diff)
downloadrails-2e62d53c2fac124180c78b0fe337d70642126329.tar.gz
rails-2e62d53c2fac124180c78b0fe337d70642126329.tar.bz2
rails-2e62d53c2fac124180c78b0fe337d70642126329.zip
Fix a typo in deprecation warning. #process takes method instead of http_method.
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_controller/test_case.rb2
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 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