summaryrefslogtreecommitdiff
path: root/spec/commands/console_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/commands/console_spec.rb')
-rw-r--r--spec/commands/console_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/commands/console_spec.rb b/spec/commands/console_spec.rb
index cba618db80..a0b71ff016 100644
--- a/spec/commands/console_spec.rb
+++ b/spec/commands/console_spec.rb
@@ -3,7 +3,7 @@
RSpec.describe "bundle console", :bundler => "< 3" do
before :each do
install_gemfile <<-G
- source "file://#{gem_repo1}"
+ source "#{file_uri_for(gem_repo1)}"
gem "rack"
gem "activesupport", :group => :test
gem "rack_middleware", :group => :development
@@ -28,7 +28,7 @@ RSpec.describe "bundle console", :bundler => "< 3" do
it "starts another REPL if configured as such" do
install_gemfile <<-G
- source "file://#{gem_repo1}"
+ source "#{file_uri_for(gem_repo1)}"
gem "pry"
G
bundle "config set console pry"
@@ -87,7 +87,7 @@ RSpec.describe "bundle console", :bundler => "< 3" do
it "performs an automatic bundle install" do
gemfile <<-G
- source "file://#{gem_repo1}"
+ source "#{file_uri_for(gem_repo1)}"
gem "rack"
gem "activesupport", :group => :test
gem "rack_middleware", :group => :development