test/reader_test.rb in symmetric-encryption-0.9.1 vs test/reader_test.rb in symmetric-encryption-1.0.0

- old
+ new

@@ -20,10 +20,10 @@ "Keep this secret\n", "And keep going even further and further..." ] @data_str = @data.inject('') {|sum,str| sum << str} @data_len = @data_str.length - @data_encrypted = SymmetricEncryption.cipher.encrypt(@data_str) + @data_encrypted = SymmetricEncryption.cipher.encrypt(@data_str, false) end should "decrypt from string stream as a single read" do stream = StringIO.new(@data_encrypted) decrypted = SymmetricEncryption::Reader.open(stream) {|file| file.read} \ No newline at end of file