summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-11-13 18:32:13 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-11-22 18:44:22 +0100
commite8c51681a8cc5fcb904620251953ef1a844b14f9 (patch)
treeeeb924e034f3748f885283374a2faf56acbdcadf
parent029d4da57441defd8a8760af33b1ce11847f7afa (diff)
downloadbundler-e8c51681a8cc5fcb904620251953ef1a844b14f9.tar.gz
Use OS-independent PATH-separator
-rw-r--r--spec/bundler/env_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/bundler/env_spec.rb b/spec/bundler/env_spec.rb
index f0ab5d5f35..7686fe386a 100644
--- a/spec/bundler/env_spec.rb
+++ b/spec/bundler/env_spec.rb
@@ -27,9 +27,9 @@ RSpec.describe Bundler::Env do
end
it "prints gem path" do
- with_clear_paths("GEM_PATH", "/a/b/c:/d/e/f") do
+ with_clear_paths("GEM_PATH", "/a/b/c#{File::PATH_SEPARATOR}d/e/f") do
out = described_class.report
- expect(out).to include("Gem Path /a/b/c:/d/e/f")
+ expect(out).to include("Gem Path /a/b/c#{File::PATH_SEPARATOR}d/e/f")
end
end