From 97f89a8289d25a677fc0165f9b1dac7fc3218314 Mon Sep 17 00:00:00 2001 From: Jan Piotrowski Date: Sun, 3 Mar 2019 22:09:23 +0100 Subject: expand comparison path for Windows compat which adds a `C:` to the path --- spec/bundler/shared_helpers_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.1