test/attr_encrypted_test.rb in symmetric-encryption-0.7.2 vs test/attr_encrypted_test.rb in symmetric-encryption-0.8.0
- old
+ new
@@ -49,13 +49,13 @@
class AttrEncryptedTest < Test::Unit::TestCase
context 'the SymmetricEncryption Library' do
setup do
@bank_account_number = "1234567890"
- @bank_account_number_encrypted = "L94ArJeFlJrZp6SYsvoOGA==\n"
+ @bank_account_number_encrypted = "L94ArJeFlJrZp6SYsvoOGA=="
@social_security_number = "987654321"
- @social_security_number_encrypted = "S+8X1NRrqdfEIQyFHVPuVA==\n"
+ @social_security_number_encrypted = "S+8X1NRrqdfEIQyFHVPuVA=="
@user = User.new(
# Encrypted Attribute
:bank_account_number => @bank_account_number,
# Encrypted Attribute
\ No newline at end of file