test/writer_test.rb in symmetric-encryption-3.8.3 vs test/writer_test.rb in symmetric-encryption-3.9.0

- old
+ new

@@ -11,14 +11,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 - cipher = SymmetricEncryption.cipher - before = cipher.always_add_header - cipher.always_add_header = false - @data_encrypted = SymmetricEncryption.cipher.binary_encrypt(@data_str, false, false) - cipher.always_add_header = before + @data_encrypted = SymmetricEncryption.cipher.binary_encrypt(@data_str, false, false, false) @filename = '._test' end after do File.delete(@filename) if File.exist?(@filename)