Permalink
Browse files

Fix 1.9. uggghhhhhh get it together @tenderlove 💣

  • Loading branch information...
tenderlove committed Jul 16, 2014
1 parent 993ca82 commit 7880f39e1d82cd4faf3dc61928c22b385ced3d50
Showing with 2 additions and 2 deletions.
  1. +2 −2 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.