diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-01-04 02:30:26 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-01-04 22:17:51 +0100 |
commit | f369942440469395a7e5d22d323983c292fe8669 (patch) | |
tree | 03cbb5d237b6c1ba6191f30c94eec390fe31f5d5 | |
parent | f2b65e66c3ad1f4eb4c6a2e417362ecb01313ad4 (diff) | |
download | bundler-f369942440469395a7e5d22d323983c292fe8669.tar.gz |
Fix another OS-dependent failure
-rw-r--r-- | spec/runtime/setup_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/runtime/setup_spec.rb b/spec/runtime/setup_spec.rb index 39240b7404..40235cd796 100644 --- a/spec/runtime/setup_spec.rb +++ b/spec/runtime/setup_spec.rb @@ -708,7 +708,7 @@ end end context "when the user has one set" do - before { ENV["MANPATH"] = "/foo:" } + before { ENV["MANPATH"] = "/foo#{File::PATH_SEPARATOR}" } it "adds the gem's man dir to the MANPATH" do install_gemfile! <<-G @@ -717,7 +717,7 @@ end G run! "puts ENV['MANPATH']" - expect(out).to eq("#{default_bundle_path("gems/with_man-1.0/man")}:/foo") + expect(out).to eq("#{default_bundle_path("gems/with_man-1.0/man")}#{File::PATH_SEPARATOR}/foo") end end |