summaryrefslogtreecommitdiff
path: root/spec/commands/add_spec.rb
diff options
context:
space:
mode:
authorDennis Suratna <dennis.suratna@gmail.com>2017-04-09 16:44:31 +0700
committerDennis Suratna <dennis.suratna@gmail.com>2017-04-10 15:47:20 +0700
commit05ab832d5d7b8664fc67757493d95b120505368d (patch)
treea8e2ebe36da0caf0840c9722f78af2ddc37e21ee /spec/commands/add_spec.rb
parent99a64e25030080ec0c79d52470afea4e22ec8342 (diff)
downloadbundler-05ab832d5d7b8664fc67757493d95b120505368d.tar.gz
Fix spec. Check for requirement pattern
Diffstat (limited to 'spec/commands/add_spec.rb')
-rw-r--r--spec/commands/add_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/commands/add_spec.rb b/spec/commands/add_spec.rb
index f06c759f81..ec9ebd16fd 100644
--- a/spec/commands/add_spec.rb
+++ b/spec/commands/add_spec.rb
@@ -88,7 +88,7 @@ RSpec.describe "bundle add" do
it "shows error message when version is not formatted correctly" do
bundle "add 'foo' -v='~>1 . 0'"
- expect(out).to match('Illformed requirement ["~>1 . 0"]')
+ expect(out).to match("Invalid gem requirement pattern '~>1 . 0'")
end
it "shows error message when gem cannot be found" do