summaryrefslogtreecommitdiff
path: root/spec/install/gemfile/platform_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/install/gemfile/platform_spec.rb')
-rw-r--r--spec/install/gemfile/platform_spec.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/spec/install/gemfile/platform_spec.rb b/spec/install/gemfile/platform_spec.rb
index 9a848b8396..b5dbc41a33 100644
--- a/spec/install/gemfile/platform_spec.rb
+++ b/spec/install/gemfile/platform_spec.rb
@@ -102,7 +102,7 @@ RSpec.describe "bundle install across platforms" do
gem "pry"
G
- expect(the_bundle.lockfile).to read_as strip_whitespace(<<-L)
+ expect(the_bundle.lockfile).to read_as normalize_uri_file(strip_whitespace(<<-L))
GEM
remote: file://localhost/#{gem_repo4}/
specs:
@@ -160,7 +160,7 @@ RSpec.describe "bundle install across platforms" do
#{Bundler::VERSION}
L
- expect(the_bundle.lockfile).to read_as good_lockfile
+ expect(the_bundle.lockfile).to read_as normalize_uri_file(good_lockfile)
bad_lockfile = strip_whitespace <<-L
GEM
@@ -196,23 +196,23 @@ RSpec.describe "bundle install across platforms" do
aggregate_failures do
lockfile bad_lockfile
bundle! :install
- expect(the_bundle.lockfile).to read_as good_lockfile
+ expect(the_bundle.lockfile).to read_as normalize_uri_file(good_lockfile)
lockfile bad_lockfile
bundle! :update, :all => true
- expect(the_bundle.lockfile).to read_as good_lockfile
+ expect(the_bundle.lockfile).to read_as normalize_uri_file(good_lockfile)
lockfile bad_lockfile
bundle! "update ffi"
- expect(the_bundle.lockfile).to read_as good_lockfile
+ expect(the_bundle.lockfile).to read_as normalize_uri_file(good_lockfile)
lockfile bad_lockfile
bundle! "update empyrean"
- expect(the_bundle.lockfile).to read_as good_lockfile
+ expect(the_bundle.lockfile).to read_as normalize_uri_file(good_lockfile)
lockfile bad_lockfile
bundle! :lock
- expect(the_bundle.lockfile).to read_as good_lockfile
+ expect(the_bundle.lockfile).to read_as normalize_uri_file(good_lockfile)
end
end