Skip to content
Browse files

Fix 1.9. uggghhhhhh get it together @tenderlove :bomb:

  • Loading branch information...
1 parent 993ca82 commit 7880f39e1d82cd4faf3dc61928c22b385ced3d50 @tenderlove tenderlove committed Jul 15, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/test/abstract_unit.rb
View
4 actionpack/test/abstract_unit.rb
@@ -316,8 +316,8 @@ def send_request(uri_or_host, method, path)
routes.call(params)
end
- def request_path_params(path, method:)
- method ||= 'GET'
+ def request_path_params(path, options = {})
+ method = options[:method] || 'GET'
resp = send_request URI('http://localhost' + path), method.to_s.upcase, nil
status = resp.first
if status == 404

0 comments on commit 7880f39

Please sign in to comment.
Something went wrong with that request. Please try again.