diff --git a/spec/bundler/runtime/setup_spec.rb b/spec/bundler/runtime/setup_spec.rb index 09f179c517..f02f81f697 100644 --- a/spec/bundler/runtime/setup_spec.rb +++ b/spec/bundler/runtime/setup_spec.rb @@ -1598,7 +1598,7 @@ end require 'csv' R - expect(err).to be_empty + expect(err).not_to include("Add csv to your Gemfile") end it "don't warn with bundled gems when it's declared in Gemfile" do