diff options
author | Juanito Fatas <katehuang0320@gmail.com> | 2015-01-31 20:58:08 +0800 |
---|---|---|
committer | Juanito Fatas <katehuang0320@gmail.com> | 2015-01-31 20:58:08 +0800 |
commit | 2e62d53c2fac124180c78b0fe337d70642126329 (patch) | |
tree | 273df2baa180f218b69aab1d6afa7c12548e711f /actionpack/lib | |
parent | 0ddf2eb9acc268481fbe70ebd3145185e36204d3 (diff) | |
download | rails-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/lib')
-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 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 |