diff options
Diffstat (limited to 'spec/commands/add_spec.rb')
-rw-r--r-- | spec/commands/add_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/commands/add_spec.rb b/spec/commands/add_spec.rb index 36e696da0b..aebe8442d1 100644 --- a/spec/commands/add_spec.rb +++ b/spec/commands/add_spec.rb @@ -92,7 +92,7 @@ RSpec.describe "bundle add" do it "shows error message when gem cannot be found" do bundle "add 'werk_it'" - expect(out).to match("Could not find gem 'werk_it' in any of the gem sources listed in your Gemfile.") + expect(out).to match("Could not find gem 'werk_it' in") bundle "add 'werk_it' -s='file://#{gem_repo2}'" expect(out).to match("Could not find gem 'werk_it' in rubygems repository") |