summaryrefslogtreecommitdiff
path: root/spec/commands/binstubs_spec.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-04-12 10:48:05 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-04-12 10:48:05 +0200
commitc494e1261268a5249b6406fe35709016f7c4c3ac (patch)
tree0fae25fb100a65b7ccbb75996776f63b1f04d214 /spec/commands/binstubs_spec.rb
parentd5af877b6a51e0faaa6240089005ccca76dba727 (diff)
downloadbundler-c494e1261268a5249b6406fe35709016f7c4c3ac.tar.gz
s/last_command.stdout/out/greysteil/print-errors-to-stderr
Diffstat (limited to 'spec/commands/binstubs_spec.rb')
-rw-r--r--spec/commands/binstubs_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/commands/binstubs_spec.rb b/spec/commands/binstubs_spec.rb
index d2a22f3059..77f23b9a2f 100644
--- a/spec/commands/binstubs_spec.rb
+++ b/spec/commands/binstubs_spec.rb
@@ -173,7 +173,7 @@ RSpec.describe "bundle binstubs <gem>" do
it "calls through to the latest bundler version" do
sys_exec! "#{bundled_app("bin/bundle")} update --bundler"
- expect(last_command.stdout).to eq %(system bundler #{system_bundler_version}\n["update", "--bundler"])
+ expect(out).to eq %(system bundler #{system_bundler_version}\n["update", "--bundler"])
end
it "calls through to the explicit bundler version" do