test/writer_test.rb in symmetric-encryption-0.9.1 vs test/writer_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)
@filename = '._test'
end
teardown do
File.delete(@filename) if File.exist?(@filename)