diff options
author | Andrew White <pixeltrix@users.noreply.github.com> | 2015-01-31 07:36:14 -0800 |
---|---|---|
committer | Andrew White <pixeltrix@users.noreply.github.com> | 2015-01-31 07:36:14 -0800 |
commit | ed5e4f8f35a1616b209b910a5acfc0063157087b (patch) | |
tree | abd13ac1cebd8ee1b587a9c6fb82992274263c58 /actionpack/lib/action_controller/test_case.rb | |
parent | 8d15e072bec1b49c5519228e079fcaf0a1fcead6 (diff) | |
parent | 2e62d53c2fac124180c78b0fe337d70642126329 (diff) | |
download | rails-ed5e4f8f35a1616b209b910a5acfc0063157087b.tar.gz rails-ed5e4f8f35a1616b209b910a5acfc0063157087b.tar.bz2 rails-ed5e4f8f35a1616b209b910a5acfc0063157087b.zip |
Merge pull request #18749 from JuanitoFatas/doc/fix-type-in-deprecation
Fix a typo in deprecation warning. #process takes method instead of http_method.
Diffstat (limited to 'actionpack/lib/action_controller/test_case.rb')
-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 |