diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-11-13 18:32:13 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-11-22 18:44:22 +0100 |
commit | e8c51681a8cc5fcb904620251953ef1a844b14f9 (patch) | |
tree | eeb924e034f3748f885283374a2faf56acbdcadf /spec/bundler/env_spec.rb | |
parent | 029d4da57441defd8a8760af33b1ce11847f7afa (diff) | |
download | bundler-e8c51681a8cc5fcb904620251953ef1a844b14f9.tar.gz |
Use OS-independent PATH-separator
Diffstat (limited to 'spec/bundler/env_spec.rb')
-rw-r--r-- | spec/bundler/env_spec.rb | 4 |
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 |