test/field_encrypted_test.rb in symmetric-encryption-0.4.0 vs test/field_encrypted_test.rb in symmetric-encryption-0.5.0

- old
+ new

@@ -28,16 +28,16 @@ # validates :encrypted_bank_account_number, :symmetric_encrypted => true # validates :encrypted_social_security_number, :symmetric_encrypted => true end # Load Symmetric Encryption keys -Symmetric::Encryption.load!(File.join(File.dirname(__FILE__), 'config', 'symmetric-encryption.yml'), 'test') +SymmetricEncryption.load!(File.join(File.dirname(__FILE__), 'config', 'symmetric-encryption.yml'), 'test') # -# Unit Tests for field encrypted and validation aspects of Symmetric::Encryption +# Unit Tests for field encrypted and validation aspects of SymmetricEncryption # class FieldEncryptedTest < Test::Unit::TestCase - context 'the Symmetric::Encryption Library' do + context 'the SymmetricEncryption Library' do setup do @bank_account_number = "1234567890" @bank_account_number_encrypted = "L94ArJeFlJrZp6SYsvoOGA==\n" @social_security_number = "987654321" \ No newline at end of file