aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorDavid Stosik <david.stosik+git-noreply@gmail.com>2019-08-15 14:47:57 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-18 13:43:59 +0900
commita02dbcecb15bff9c2a21f5d5e021707a3b150a57 (patch)
tree91a9e8df23bed604262630d22c97bdfb178a8c2e /spec
parent3ecb5125c62bf68a7b74c5c48c659c0d165e624f (diff)
downloadruby-a02dbcecb15bff9c2a21f5d5e021707a3b150a57.tar.gz
[bundler/bundler] Bundler displays a duplicate gem entries warning even if gems only appear once per group
https://github.com/bundler/bundler/commit/d18a83109e
Diffstat (limited to 'spec')
-rw-r--r--spec/bundler/commands/install_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/bundler/commands/install_spec.rb b/spec/bundler/commands/install_spec.rb
index e279d71827..8e161a4aae 100644
--- a/spec/bundler/commands/install_spec.rb
+++ b/spec/bundler/commands/install_spec.rb
@@ -330,7 +330,7 @@ RSpec.describe "bundle install with gem sources" do
G
expect(err).to include("Your Gemfile lists the gem rack (>= 0) more than once.")
- expect(err).to include("Remove any duplicate entries and specify the gem only once (per group).")
+ expect(err).to include("Remove any duplicate entries and specify the gem only once.")
expect(err).to include("While it's not a problem now, it could cause errors if you change the version of one of them later.")
end
@@ -342,7 +342,7 @@ RSpec.describe "bundle install with gem sources" do
G
expect(err).to include("Your Gemfile lists the gem rack (= 1.0) more than once.")
- expect(err).to include("Remove any duplicate entries and specify the gem only once (per group).")
+ expect(err).to include("Remove any duplicate entries and specify the gem only once.")
expect(err).to include("While it's not a problem now, it could cause errors if you change the version of one of them later.")
end
end