summaryrefslogtreecommitdiff
path: root/spec/lock
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-04-12 10:46:15 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-04-12 10:47:39 +0200
commitd5af877b6a51e0faaa6240089005ccca76dba727 (patch)
treecf04eaf8b3e3078d21703e7941bb99c9b1be3302 /spec/lock
parenteb46c21d28193e1fc40aad1ab1316479f59f4515 (diff)
downloadbundler-d5af877b6a51e0faaa6240089005ccca76dba727.tar.gz
s/last_command.stderr/err/
Diffstat (limited to 'spec/lock')
-rw-r--r--spec/lock/lockfile_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/lock/lockfile_spec.rb b/spec/lock/lockfile_spec.rb
index 072a8d81f2..0842a94fc5 100644
--- a/spec/lock/lockfile_spec.rb
+++ b/spec/lock/lockfile_spec.rb
@@ -183,7 +183,7 @@ RSpec.describe "the lockfile format" do
"than the version that created the lockfile (9999999.1.0). " \
"We suggest you to upgrade to the version that created the " \
"lockfile by running `gem install bundler:9999999.1.0`."
- expect(last_command.stderr).to include warning_message
+ expect(err).to include warning_message
lockfile_should_be <<-G
GEM
@@ -293,7 +293,7 @@ RSpec.describe "the lockfile format" do
G
end
- expect(last_command.stderr).to include(
+ expect(err).to include(
"Warning: the lockfile is being updated to Bundler " \
"9999999, after which you will be unable to return to Bundler 1."
)
@@ -340,7 +340,7 @@ RSpec.describe "the lockfile format" do
gem "rack"
G
- expect(last_command.stderr).to include(
+ expect(err).to include(
"Warning: the lockfile is being updated to Bundler " \
"9999999, after which you will be unable to return to Bundler 1."
)