diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2018-09-11 21:28:15 -0300 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-03-13 13:24:25 +0100 |
commit | cd933b4f04ace9b9ce4c968bc4405f9029019271 (patch) | |
tree | 3e0bee465da7c7ab00b353be306fa2e5cbbc7b46 /spec/bundler | |
parent | e0ae7cab66b70305d576d28044c9b2bd1cd7c3d2 (diff) | |
download | bundler-cd933b4f04ace9b9ce4c968bc4405f9029019271.tar.gz |
Fixes for docker
Diffstat (limited to 'spec/bundler')
-rw-r--r-- | spec/bundler/mirror_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/bundler/mirror_spec.rb b/spec/bundler/mirror_spec.rb index acd0895f2f..fb476b8465 100644 --- a/spec/bundler/mirror_spec.rb +++ b/spec/bundler/mirror_spec.rb @@ -298,8 +298,8 @@ RSpec.describe Bundler::Settings::TCPSocketProbe do context "with a listening TCP Server" do def with_server_and_mirror - server = TCPServer.new("127.0.0.1", 0) - mirror = Bundler::Settings::Mirror.new("http://localhost:#{server.addr[1]}", 1) + server = TCPServer.new("0.0.0.0", 0) + mirror = Bundler::Settings::Mirror.new("http://0.0.0.0:#{server.addr[1]}", 1) yield server, mirror server.close unless server.closed? end |