summaryrefslogtreecommitdiff
path: root/spec/install/gems/resolving_spec.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-05-06 18:06:21 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-06-11 12:36:19 +0200
commit5946d62ad03c57271ccb037680382b1db9fc2e65 (patch)
tree31be4479c7d942243440b378c054ef6d4308e398 /spec/install/gems/resolving_spec.rb
parente6fd423bbdf6fc2aa1032a5e35df7b4079c45ddd (diff)
downloadbundler-5946d62ad03c57271ccb037680382b1db9fc2e65.tar.gz
Normalize file:// handling in specs
Diffstat (limited to 'spec/install/gems/resolving_spec.rb')
-rw-r--r--spec/install/gems/resolving_spec.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/spec/install/gems/resolving_spec.rb b/spec/install/gems/resolving_spec.rb
index 7bab676cea..f245b7fc29 100644
--- a/spec/install/gems/resolving_spec.rb
+++ b/spec/install/gems/resolving_spec.rb
@@ -3,7 +3,7 @@
RSpec.describe "bundle install with install-time dependencies" do
it "installs gems with implicit rake dependencies", :ruby_repo do
install_gemfile <<-G
- source "file://#{gem_repo1}"
+ source "#{file_uri_for(gem_repo1)}"
gem "with_implicit_rake_dep"
gem "another_implicit_rake_dep"
gem "rake"
@@ -31,7 +31,7 @@ RSpec.describe "bundle install with install-time dependencies" do
end
install_gemfile <<-G
- source "file://#{gem_repo2}"
+ source "#{file_uri_for(gem_repo2)}"
gem "actionpack", "2.3.2"
G
@@ -41,7 +41,7 @@ RSpec.describe "bundle install with install-time dependencies" do
describe "with crazy rubygem plugin stuff" do
it "installs plugins" do
install_gemfile <<-G
- source "file://#{gem_repo1}"
+ source "#{file_uri_for(gem_repo1)}"
gem "net_b"
G
@@ -50,7 +50,7 @@ RSpec.describe "bundle install with install-time dependencies" do
it "installs plugins depended on by other plugins", :ruby_repo do
install_gemfile <<-G
- source "file://#{gem_repo1}"
+ source "#{file_uri_for(gem_repo1)}"
gem "net_a"
G
@@ -59,7 +59,7 @@ RSpec.describe "bundle install with install-time dependencies" do
it "installs multiple levels of dependencies", :ruby_repo do
install_gemfile <<-G
- source "file://#{gem_repo1}"
+ source "#{file_uri_for(gem_repo1)}"
gem "net_c"
gem "net_e"
G
@@ -70,7 +70,7 @@ RSpec.describe "bundle install with install-time dependencies" do
context "with ENV['DEBUG_RESOLVER'] set" do
it "produces debug output" do
gemfile <<-G
- source "file://#{gem_repo1}"
+ source "#{file_uri_for(gem_repo1)}"
gem "net_c"
gem "net_e"
G
@@ -84,7 +84,7 @@ RSpec.describe "bundle install with install-time dependencies" do
context "with ENV['DEBUG_RESOLVER_TREE'] set" do
it "produces debug output" do
gemfile <<-G
- source "file://#{gem_repo1}"
+ source "#{file_uri_for(gem_repo1)}"
gem "net_c"
gem "net_e"
G
@@ -203,7 +203,7 @@ RSpec.describe "bundle install with install-time dependencies" do
end
install_gemfile <<-G
- source "file://#{gem_repo2}"
+ source "#{file_uri_for(gem_repo2)}"
gem 'require_rubygems'
G