diff --git a/bosh_cli/spec/unit/core_ext_spec.rb b/bosh_cli/spec/unit/core_ext_spec.rb
index <HASH>..<HASH> 100644
--- a/bosh_cli/spec/unit/core_ext_spec.rb
+++ b/bosh_cli/spec/unit/core_ext_spec.rb
@@ -86,7 +86,7 @@ describe Object do
   end
 
   it 'has a warn helper' do
-    should_receive(:warn).with("[WARNING] Could not find keypair".make_yellow)
+    expect(self).to receive(:warn).with("[WARNING] Could not find keypair".make_yellow)
 
     warning("Could not find keypair")
   end
Fix the last 'should' syntax assertion