diff --git a/spec/tester_spec.rb b/spec/tester_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/tester_spec.rb
+++ b/spec/tester_spec.rb
@@ -50,7 +50,7 @@ describe Zxcvbn::Tester do
 
   context 'nil password' do
     specify do
-      expect { tester.test(nil) }.to_not raise_error
+      expect(tester.test(nil)).to have_attributes(entropy: 0, score: 0, crack_time: 0)
     end
   end
-end
\ No newline at end of file
+end
Tell us how it *is* expected to behave