diff options
author | SHIBATA Hiroshi <hsbt@ruby-lang.org> | 2018-06-15 19:32:49 +0900 |
---|---|---|
committer | SHIBATA Hiroshi <hsbt@ruby-lang.org> | 2018-06-15 19:56:27 +0900 |
commit | 033ed33b204ca01215c6191196be16ef9dd57682 (patch) | |
tree | dbb7ef164b2fe6b099226a4c2e4a8fc9add25e60 | |
parent | b6d5d9d4a1724ffe220057a2771c10830239ae23 (diff) | |
download | bundler-033ed33b204ca01215c6191196be16ef9dd57682.tar.gz |
-rw-r--r-- | spec/install/gemfile/gemspec_spec.rb | 2 | ||||
-rw-r--r-- | spec/install/post_bundle_message_spec.rb | 2 | ||||
-rw-r--r-- | spec/support/matchers.rb | 2 |
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 |