diff options
Diffstat (limited to 'spec/update/gems/post_install_spec.rb')
-rw-r--r-- | spec/update/gems/post_install_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/update/gems/post_install_spec.rb b/spec/update/gems/post_install_spec.rb index f6b7f39d0b..5b061eb61b 100644 --- a/spec/update/gems/post_install_spec.rb +++ b/spec/update/gems/post_install_spec.rb @@ -5,7 +5,7 @@ RSpec.describe "bundle update" do before do gemfile <<-G - source "file://#{gem_repo1}" + source "#{file_uri_for(gem_repo1)}" gem 'rack', "< 1.0" gem 'thin' G @@ -47,7 +47,7 @@ RSpec.describe "bundle update" do context "when listed gem is updated" do before do gemfile <<-G - source "file://#{gem_repo1}" + source "#{file_uri_for(gem_repo1)}" gem 'rack' gem 'thin' G @@ -62,7 +62,7 @@ RSpec.describe "bundle update" do context "when dependency triggers update" do before do gemfile <<-G - source "file://#{gem_repo1}" + source "#{file_uri_for(gem_repo1)}" gem 'rack-obama' gem 'thin' G |