summaryrefslogtreecommitdiff
path: root/spec/commands/add_spec.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-04-11 23:09:33 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-04-12 10:44:54 +0200
commiteb46c21d28193e1fc40aad1ab1316479f59f4515 (patch)
tree6f6a6ca1a853d7b29571d38f1e283624bb30728d /spec/commands/add_spec.rb
parentbb0e13d6070a3082b7ef59cd8c7284f988335e91 (diff)
downloadbundler-eb46c21d28193e1fc40aad1ab1316479f59f4515.tar.gz
Unify stderr helpers
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 dac1d0f6b9..7d435916db 100644
--- a/spec/commands/add_spec.rb
+++ b/spec/commands/add_spec.rb
@@ -21,7 +21,7 @@ RSpec.describe "bundle add" do
it "shows error" do
bundle "add"
- expect(last_command.bundler_err).to include("Please specify gems to add")
+ expect(err).to include("Please specify gems to add")
end
end