diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-05-06 18:06:21 +0200 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-06-11 12:36:19 +0200 |
commit | 5946d62ad03c57271ccb037680382b1db9fc2e65 (patch) | |
tree | 31be4479c7d942243440b378c054ef6d4308e398 /spec/commands/info_spec.rb | |
parent | e6fd423bbdf6fc2aa1032a5e35df7b4079c45ddd (diff) | |
download | bundler-5946d62ad03c57271ccb037680382b1db9fc2e65.tar.gz |
Normalize file:// handling in specs
Diffstat (limited to 'spec/commands/info_spec.rb')
-rw-r--r-- | spec/commands/info_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/commands/info_spec.rb b/spec/commands/info_spec.rb index f0f4b5f87d..375ac01986 100644 --- a/spec/commands/info_spec.rb +++ b/spec/commands/info_spec.rb @@ -4,7 +4,7 @@ RSpec.describe "bundle info" do context "with a standard Gemfile" do before do install_gemfile <<-G - source "file://#{gem_repo1}" + source "#{file_uri_for(gem_repo1)}" gem "rails" G end @@ -119,7 +119,7 @@ RSpec.describe "bundle info" do context "with a valid regexp for gem name", :ruby_repo do it "presents alternatives" do install_gemfile <<-G - source "file://#{gem_repo1}" + source "#{file_uri_for(gem_repo1)}" gem "rack" gem "rack-obama" G @@ -132,7 +132,7 @@ RSpec.describe "bundle info" do context "with an invalid regexp for gem name" do it "does not find the gem" do install_gemfile <<-G - source "file://#{gem_repo1}" + source "#{file_uri_for(gem_repo1)}" gem "rails" G |