diff options
Diffstat (limited to 'spec/install/yanked_spec.rb')
-rw-r--r-- | spec/install/yanked_spec.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/install/yanked_spec.rb b/spec/install/yanked_spec.rb index 3e6f6a3bcd..50839d3713 100644 --- a/spec/install/yanked_spec.rb +++ b/spec/install/yanked_spec.rb @@ -10,7 +10,7 @@ RSpec.context "when installing a bundle that includes yanked gems" do it "throws an error when the original gem version is yanked" do lockfile <<-L GEM - remote: file://#{gem_repo4} + remote: #{file_uri_for(gem_repo4)} specs: foo (10.0.0) @@ -23,7 +23,7 @@ RSpec.context "when installing a bundle that includes yanked gems" do L install_gemfile <<-G - source "file://#{gem_repo4}" + source "#{file_uri_for(gem_repo4)}" gem "foo", "10.0.0" G @@ -32,7 +32,7 @@ RSpec.context "when installing a bundle that includes yanked gems" do it "throws the original error when only the Gemfile specifies a gem version that doesn't exist" do install_gemfile <<-G - source "file://#{gem_repo4}" + source "#{file_uri_for(gem_repo4)}" gem "foo", "10.0.0" G @@ -44,13 +44,13 @@ end RSpec.context "when using gem before installing" do it "does not suggest the author has yanked the gem" do gemfile <<-G - source "file://#{gem_repo1}" + source "#{file_uri_for(gem_repo1)}" gem "rack", "0.9.1" G lockfile <<-L GEM - remote: file://#{gem_repo1} + remote: #{file_uri_for(gem_repo1)} specs: rack (0.9.1) |