diff options
Diffstat (limited to 'spec/plugins/hook_spec.rb')
-rw-r--r-- | spec/plugins/hook_spec.rb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/spec/plugins/hook_spec.rb b/spec/plugins/hook_spec.rb index 53062095e2..72feb14d84 100644 --- a/spec/plugins/hook_spec.rb +++ b/spec/plugins/hook_spec.rb @@ -13,12 +13,12 @@ RSpec.describe "hook plugins" do end end - bundle "plugin install before-install-all-plugin --source file://#{gem_repo2}" + bundle "plugin install before-install-all-plugin --source #{file_uri_for(gem_repo2)}" end it "runs before all rubygems are installed" do install_gemfile <<-G - source "file://#{gem_repo1}" + source "#{file_uri_for(gem_repo1)}" gem "rake" gem "rack" G @@ -39,12 +39,12 @@ RSpec.describe "hook plugins" do end end - bundle "plugin install before-install-plugin --source file://#{gem_repo2}" + bundle "plugin install before-install-plugin --source #{file_uri_for(gem_repo2)}" end it "runs before each rubygem is installed" do install_gemfile <<-G - source "file://#{gem_repo1}" + source "#{file_uri_for(gem_repo1)}" gem "rake" gem "rack" G @@ -66,12 +66,12 @@ RSpec.describe "hook plugins" do end end - bundle "plugin install after-install-all-plugin --source file://#{gem_repo2}" + bundle "plugin install after-install-all-plugin --source #{file_uri_for(gem_repo2)}" end it "runs after each rubygem is installed" do install_gemfile <<-G - source "file://#{gem_repo1}" + source "#{file_uri_for(gem_repo1)}" gem "rake" gem "rack" G @@ -92,12 +92,12 @@ RSpec.describe "hook plugins" do end end - bundle "plugin install after-install-plugin --source file://#{gem_repo2}" + bundle "plugin install after-install-plugin --source #{file_uri_for(gem_repo2)}" end it "runs after each rubygem is installed" do install_gemfile <<-G - source "file://#{gem_repo1}" + source "#{file_uri_for(gem_repo1)}" gem "rake" gem "rack" G |