summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Piotrowski <piotrowski+git@gmail.com>2019-03-03 22:09:23 +0100
committerJan Piotrowski <piotrowski+git@gmail.com>2019-03-03 22:09:23 +0100
commit97f89a8289d25a677fc0165f9b1dac7fc3218314 (patch)
treef6529caa8b28f3aa77a2210ca2192f1a3a1390a9
parenteeb5722f24e8868cbbf3687cc772254ac65d19df (diff)
downloadbundler-97f89a8289d25a677fc0165f9b1dac7fc3218314.tar.gz
expand comparison path for Windows compat
which adds a `C:` to the path
-rw-r--r--spec/bundler/shared_helpers_spec.rb2
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)