diff options
Diffstat (limited to 'spec/other/compatibility_guard_spec.rb')
-rw-r--r-- | spec/other/compatibility_guard_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/other/compatibility_guard_spec.rb b/spec/other/compatibility_guard_spec.rb index ac05ebd918..9b11ab4e4f 100644 --- a/spec/other/compatibility_guard_spec.rb +++ b/spec/other/compatibility_guard_spec.rb @@ -18,7 +18,7 @@ RSpec.describe "bundler compatibility guard" do it "raises a friendly error" do bundle :version - expect(err).to eq("Bundler 2 requires RubyGems 2.5 or later. Either install bundler 1 or update to a supported RubyGems version.") + expect(last_command.stderr).to eq("Bundler 2 requires RubyGems 2.5 or later. Either install bundler 1 or update to a supported RubyGems version.") end end end |