summaryrefslogtreecommitdiff
path: root/spec/commands/licenses_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/commands/licenses_spec.rb')
-rw-r--r--spec/commands/licenses_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/commands/licenses_spec.rb b/spec/commands/licenses_spec.rb
index 423921e282..d4fa02d0a7 100644
--- a/spec/commands/licenses_spec.rb
+++ b/spec/commands/licenses_spec.rb
@@ -3,7 +3,7 @@
RSpec.describe "bundle licenses" do
before :each do
install_gemfile <<-G
- source "file://#{gem_repo1}"
+ source "#{file_uri_for(gem_repo1)}"
gem "rails"
gem "with_license"
G
@@ -18,7 +18,7 @@ RSpec.describe "bundle licenses" do
it "performs an automatic bundle install" do
gemfile <<-G
- source "file://#{gem_repo1}"
+ source "#{file_uri_for(gem_repo1)}"
gem "rails"
gem "with_license"
gem "foo"