summaryrefslogtreecommitdiff
path: root/spec/install/binstubs_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/install/binstubs_spec.rb')
-rw-r--r--spec/install/binstubs_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/install/binstubs_spec.rb b/spec/install/binstubs_spec.rb
index daa20693c7..e7aa577077 100644
--- a/spec/install/binstubs_spec.rb
+++ b/spec/install/binstubs_spec.rb
@@ -9,7 +9,7 @@ RSpec.describe "bundle install" do
gemfile <<-G
require 'rubygems'
def Gem.bindir; "/usr/bin"; end
- source "file://#{gem_repo1}"
+ source "#{file_uri_for(gem_repo1)}"
gem "rack"
G
@@ -29,7 +29,7 @@ RSpec.describe "bundle install" do
end
install_gemfile <<-G
- source "file://#{gem_repo2}"
+ source "#{file_uri_for(gem_repo2)}"
gem "fake"
gem "rack"
G