1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[bundler/bundler] Normalize file:// handling in specs

5946d62ad0
This commit is contained in:
David Rodríguez 2019-05-06 18:06:21 +02:00 committed by Hiroshi SHIBATA
parent d8d5e16305
commit c3ddd47ce7
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2
95 changed files with 1021 additions and 1023 deletions

View file

@ -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