diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-07-15 15:24:23 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-07-15 15:24:23 -0700 |
commit | 3ef98a1439aa3009f3c641652e2f19e3522543fb (patch) | |
tree | 8c242c57e65b7539ed495211b84b4886aa430fe1 /actionpack | |
parent | 8eb7bcb6e59e5720e3bd322511817804c8087043 (diff) | |
download | rails-3ef98a1439aa3009f3c641652e2f19e3522543fb.tar.gz rails-3ef98a1439aa3009f3c641652e2f19e3522543fb.tar.bz2 rails-3ef98a1439aa3009f3c641652e2f19e3522543fb.zip |
fix warnings
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/abstract_unit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/abstract_unit.rb b/actionpack/test/abstract_unit.rb index d027f1a88d..59a23a5e4b 100644 --- a/actionpack/test/abstract_unit.rb +++ b/actionpack/test/abstract_unit.rb @@ -318,7 +318,7 @@ module ActionDispatch def request_path_params(path, method: 'GET') resp = send_request URI('http://localhost' + path), method.to_s.upcase, nil - status, headers, body = *resp + status = resp.first if status == 404 raise ActionController::RoutingError, "No route matches #{path.inspect}" end |