diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-04-12 10:46:15 +0200 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-04-12 10:47:39 +0200 |
commit | d5af877b6a51e0faaa6240089005ccca76dba727 (patch) | |
tree | cf04eaf8b3e3078d21703e7941bb99c9b1be3302 /spec/lock/lockfile_spec.rb | |
parent | eb46c21d28193e1fc40aad1ab1316479f59f4515 (diff) | |
download | bundler-d5af877b6a51e0faaa6240089005ccca76dba727.tar.gz |
s/last_command.stderr/err/
Diffstat (limited to 'spec/lock/lockfile_spec.rb')
-rw-r--r-- | spec/lock/lockfile_spec.rb | 6 |
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." ) |