summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColby Swandale <me@colby.fyi>2018-12-29 18:07:27 +1100
committerColby Swandale <me@colby.fyi>2018-12-29 18:07:27 +1100
commit4937db20ef20823036d2a4e4be5b1ae6f0361755 (patch)
tree487bd5f7af53b67660a888143da5f09e5b8ae3c8
parenta2e9d1ba187d311927b56471bcbe70271b3c49f7 (diff)
downloadbundler-segiddins/ruby-2.6.tar.gz
fix breaking bundler 1 spec for ruby 2.6 with RG 2.7segiddins/ruby-2.6
-rw-r--r--spec/lock/lockfile_bundler_1_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/lock/lockfile_bundler_1_spec.rb b/spec/lock/lockfile_bundler_1_spec.rb
index fcdf6ebf0d..638b40f5f4 100644
--- a/spec/lock/lockfile_bundler_1_spec.rb
+++ b/spec/lock/lockfile_bundler_1_spec.rb
@@ -78,7 +78,7 @@ RSpec.describe "the lockfile format", :bundler => "< 2" do
it "does not update the lockfile's bundler version if nothing changed during bundle install", :ruby_repo do
version = "#{Bundler::VERSION.split(".").first}.0.0.0.a"
- lockfile <<-L
+ lockfile normalize_uri_file(<<-L)
GEM
remote: file://localhost#{gem_repo1}/
specs:
@@ -94,13 +94,13 @@ RSpec.describe "the lockfile format", :bundler => "< 2" do
#{version}
L
- install_gemfile <<-G
+ install_gemfile normalize_uri_file(<<-G)
source "file://localhost#{gem_repo1}"
gem "rack"
G
- lockfile_should_be <<-G
+ lockfile_should_be normalize_uri_file(<<-G)
GEM
remote: file://localhost#{gem_repo1}/
specs: