aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew White <pixeltrix@users.noreply.github.com>2015-01-31 07:36:14 -0800
committerAndrew White <pixeltrix@users.noreply.github.com>2015-01-31 07:36:14 -0800
commited5e4f8f35a1616b209b910a5acfc0063157087b (patch)
treeabd13ac1cebd8ee1b587a9c6fb82992274263c58
parent8d15e072bec1b49c5519228e079fcaf0a1fcead6 (diff)
parent2e62d53c2fac124180c78b0fe337d70642126329 (diff)
downloadrails-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.
-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