summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSHIBATA Hiroshi <hsbt@ruby-lang.org>2018-06-15 19:32:49 +0900
committerSHIBATA Hiroshi <hsbt@ruby-lang.org>2018-06-15 19:56:27 +0900
commit033ed33b204ca01215c6191196be16ef9dd57682 (patch)
treedbb7ef164b2fe6b099226a4c2e4a8fc9add25e60
parentb6d5d9d4a1724ffe220057a2771c10830239ae23 (diff)
downloadbundler-skip-remove-auth-with-file-protocol.tar.gz
-rw-r--r--spec/install/gemfile/gemspec_spec.rb2
-rw-r--r--spec/install/post_bundle_message_spec.rb2
-rw-r--r--spec/support/matchers.rb2
3 files changed, 3 insertions, 3 deletions
diff --git a/spec/install/gemfile/gemspec_spec.rb b/spec/install/gemfile/gemspec_spec.rb
index 61bb3cbc88..7ce037730e 100644
--- a/spec/install/gemfile/gemspec_spec.rb
+++ b/spec/install/gemfile/gemspec_spec.rb
@@ -543,7 +543,7 @@ RSpec.describe "bundle install from an existing gemspec" do
context "as a runtime dependency" do
it "keeps java dependencies in the lockfile" do
expect(the_bundle).to include_gems "foo 1.0", "platform_specific 1.0 RUBY"
- expect(lockfile).to eq nomalize_uri_file(strip_whitespace(<<-L))
+ expect(lockfile).to eq normalize_uri_file(strip_whitespace(<<-L))
GEM
remote: file://localhost#{gem_repo2}/
specs:
diff --git a/spec/install/post_bundle_message_spec.rb b/spec/install/post_bundle_message_spec.rb
index e77583dba9..eadc8a4d85 100644
--- a/spec/install/post_bundle_message_spec.rb
+++ b/spec/install/post_bundle_message_spec.rb
@@ -116,7 +116,7 @@ RSpec.describe "post bundle message" do
gem "rack"
gem "not-a-gem", :group => :development
G
- expect(out).to include normalize_uri_fil(<<-EOS.strip)
+ expect(out).to include normalize_uri_file(<<-EOS.strip)
Could not find gem 'not-a-gem' in rubygems repository file://localhost#{gem_repo1}/ or installed locally.
The source does not contain any versions of 'not-a-gem'
EOS
diff --git a/spec/support/matchers.rb b/spec/support/matchers.rb
index a91b7e9e3a..0244927bdc 100644
--- a/spec/support/matchers.rb
+++ b/spec/support/matchers.rb
@@ -236,7 +236,7 @@ module Spec
end
def lockfile_should_be(expected)
- expect(bundled_app("Gemfile.lock")).to read_as(nomalize_uri_file(strip_whitespace(expected)))
+ expect(bundled_app("Gemfile.lock")).to read_as(normalize_uri_file(strip_whitespace(expected)))
end
end
end