spec/cipher/data_spec.rb in heirloom-0.7.4 vs spec/cipher/data_spec.rb in heirloom-0.8.0

- old
+ new

@@ -27,10 +27,10 @@ should == 'cleartextfinal' end it "should rescue bad key error and return false" do @logger_mock.should_receive(:error). - with "Unable to decrypt archive: 'OpenSSL::Cipher::CipherError'" + with "Unable to decrypt Heirloom: 'OpenSSL::Cipher::CipherError'" @aes_mock.should_receive(:decrypt) @aes_mock.should_receive(:key=).with Digest::SHA256.hexdigest 'badsecret' @aes_mock.should_receive(:iv=).with 'firstsixteenchar' @aes_mock.should_receive(:update).with('crypteddata').and_return 'crap' @aes_mock.should_receive(:final).and_raise OpenSSL::Cipher::CipherError