diff options
author | Jan Piotrowski <piotrowski+git@gmail.com> | 2019-03-03 22:09:23 +0100 |
---|---|---|
committer | Jan Piotrowski <piotrowski+git@gmail.com> | 2019-03-03 22:09:23 +0100 |
commit | 97f89a8289d25a677fc0165f9b1dac7fc3218314 (patch) | |
tree | f6529caa8b28f3aa77a2210ca2192f1a3a1390a9 /spec/bundler/shared_helpers_spec.rb | |
parent | eeb5722f24e8868cbbf3687cc772254ac65d19df (diff) | |
download | bundler-97f89a8289d25a677fc0165f9b1dac7fc3218314.tar.gz |
expand comparison path for Windows compat
which adds a `C:` to the path
Diffstat (limited to 'spec/bundler/shared_helpers_spec.rb')
-rw-r--r-- | spec/bundler/shared_helpers_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/shared_helpers_spec.rb b/spec/bundler/shared_helpers_spec.rb index 1d4085d209..445bc18265 100644 --- a/spec/bundler/shared_helpers_spec.rb +++ b/spec/bundler/shared_helpers_spec.rb @@ -14,7 +14,7 @@ RSpec.describe Bundler::SharedHelpers do before { ENV["BUNDLE_GEMFILE"] = "/path/Gemfile" } context "Gemfile is present" do - let(:expected_gemfile_path) { Pathname.new("/path/Gemfile") } + let(:expected_gemfile_path) { Pathname.new("/path/Gemfile").expand_path } it "returns the Gemfile path" do expect(subject.default_gemfile).to eq(expected_gemfile_path) |