diff options
author | Andrew White <andyw@pixeltrix.co.uk> | 2013-01-14 15:54:58 +0000 |
---|---|---|
committer | Andrew White <andyw@pixeltrix.co.uk> | 2013-01-15 17:21:33 +0000 |
commit | b28fc685a98e6ff1a3777116b97b5c1c41e01391 (patch) | |
tree | 0b8dafffd574e4ca3936e79f4cb0e7f842581fa4 /actionpack/lib/action_dispatch/testing | |
parent | db06d128262b49c8b02e153cf95eb46f4eff364b (diff) | |
download | rails-b28fc685a98e6ff1a3777116b97b5c1c41e01391.tar.gz rails-b28fc685a98e6ff1a3777116b97b5c1c41e01391.tar.bz2 rails-b28fc685a98e6ff1a3777116b97b5c1c41e01391.zip |
Ensure port is set when passed via the process method
Diffstat (limited to 'actionpack/lib/action_dispatch/testing')
-rw-r--r-- | actionpack/lib/action_dispatch/testing/integration.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/testing/integration.rb b/actionpack/lib/action_dispatch/testing/integration.rb index 1fc5933e98..ed4e88aab6 100644 --- a/actionpack/lib/action_dispatch/testing/integration.rb +++ b/actionpack/lib/action_dispatch/testing/integration.rb @@ -273,7 +273,7 @@ module ActionDispatch if path =~ %r{://} location = URI.parse(path) https! URI::HTTPS === location if location.scheme - host! location.host if location.host + host! "#{location.host}:#{location.port}" if location.host path = location.query ? "#{location.path}?#{location.query}" : location.path end |