summaryrefslogtreecommitdiff
path: root/spec/bundler/definition_spec.rb
diff options
context:
space:
mode:
authorSHIBATA Hiroshi <hsbt@ruby-lang.org>2017-12-07 17:23:44 +0900
committerSHIBATA Hiroshi <hsbt@ruby-lang.org>2017-12-11 14:01:51 +0900
commitaca04dca68039bbf451c498303c03e3b87200d12 (patch)
tree988f84a4753602f3266ccf9ce559f393f2ae6ab4 /spec/bundler/definition_spec.rb
parent6030bfdf30d557b5fb8607db8da3393ec56d9dd5 (diff)
downloadbundler-aca04dca68039bbf451c498303c03e3b87200d12.tar.gz
Fixed failing examples with Ruby 2.5.
It's introduced by URI::Generic channges. https://github.com/ruby/ruby/commit/ed48bfa5e8770a345424abd7f24f94ea9bbf5973
Diffstat (limited to 'spec/bundler/definition_spec.rb')
-rw-r--r--spec/bundler/definition_spec.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/bundler/definition_spec.rb b/spec/bundler/definition_spec.rb
index 5abf0d9756..3ca0dc0f79 100644
--- a/spec/bundler/definition_spec.rb
+++ b/spec/bundler/definition_spec.rb
@@ -36,7 +36,7 @@ RSpec.describe Bundler::Definition do
build_lib "foo", "1.0", :path => lib_path("foo")
install_gemfile <<-G
- source "file://#{gem_repo1}"
+ source "file://localhost#{gem_repo1}"
gem "foo", :path => "#{lib_path("foo")}"
G
@@ -55,7 +55,7 @@ RSpec.describe Bundler::Definition do
rack (= 1.0)
GEM
- remote: file:#{gem_repo1}/
+ remote: file://localhost#{gem_repo1}/
specs:
rack (1.0.0)
@@ -115,7 +115,7 @@ RSpec.describe Bundler::Definition do
end
install_gemfile <<-G
- source "file://#{gem_repo1}"
+ source "file://localhost#{gem_repo1}"
gem "foo", :path => "#{lib_path("foo")}"
G
@@ -130,7 +130,7 @@ RSpec.describe Bundler::Definition do
rack (= 1.0)
GEM
- remote: file:#{gem_repo1}/
+ remote: file://localhost#{gem_repo1}/
specs:
rack (1.0.0)
@@ -184,7 +184,7 @@ RSpec.describe Bundler::Definition do
it "for a rubygems gem" do
install_gemfile <<-G
- source "file://#{gem_repo1}"
+ source "file://localhost#{gem_repo1}"
gem "foo"
G
@@ -193,7 +193,7 @@ RSpec.describe Bundler::Definition do
expect(out).to match(/using resolution from the lockfile/)
lockfile_should_be <<-G
GEM
- remote: file:#{gem_repo1}/
+ remote: file://localhost#{gem_repo1}/
specs:
foo (1.0)