diff options
Diffstat (limited to 'spec/bundler/environment_preserver_spec.rb')
-rw-r--r-- | spec/bundler/environment_preserver_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/environment_preserver_spec.rb b/spec/bundler/environment_preserver_spec.rb index 937211d9ac..530ca6f835 100644 --- a/spec/bundler/environment_preserver_spec.rb +++ b/spec/bundler/environment_preserver_spec.rb @@ -28,7 +28,7 @@ RSpec.describe Bundler::EnvironmentPreserver do let(:env) { { "foo" => "" } } it "should not create backup entries" do - expect(subject.key?("BUNDLER_ORIG_foo")).to eq(false) + expect(subject).not_to have_key "BUNDLER_ORIG_foo" end end |