diff options
-rw-r--r-- | spec/lock/lockfile_spec.rb | 2 | ||||
-rw-r--r-- | spec/support/helpers.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/lock/lockfile_spec.rb b/spec/lock/lockfile_spec.rb index 0809258859..e9c366009a 100644 --- a/spec/lock/lockfile_spec.rb +++ b/spec/lock/lockfile_spec.rb @@ -76,7 +76,7 @@ RSpec.describe "the lockfile format", :bundler => "2" do end it "does not update the lockfile's bundler version if nothing changed during bundle install" do - version = "#{Bundler::VERSION.split(".").first}.0.0.0.a" + version = "#{Bundler::VERSION.split(".").first}.0.0.a" lockfile <<-L GEM diff --git a/spec/support/helpers.rb b/spec/support/helpers.rb index 72a94ea326..896d60435e 100644 --- a/spec/support/helpers.rb +++ b/spec/support/helpers.rb @@ -283,7 +283,7 @@ module Spec if contents.nil? File.open("Gemfile.lock", "r", &:read) else - create_file("Gemfile.lock", contents, *args) + create_file("Gemfile.lock", normalize_uri_file(contents), *args) end end |