1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

s/messqage/message/ in message_encryptor_test.rb

This commit is contained in:
Ezekiel Smithburg 2013-01-09 13:32:35 -08:00
parent 6cf47c533d
commit 77828e20fc

View file

@ -29,9 +29,9 @@ class MessageEncryptorTest < ActiveSupport::TestCase
end
def test_encrypting_twice_yields_differing_cipher_text
first_messqage = @encryptor.encrypt_and_sign(@data).split("--").first
first_message = @encryptor.encrypt_and_sign(@data).split("--").first
second_message = @encryptor.encrypt_and_sign(@data).split("--").first
assert_not_equal first_messqage, second_message
assert_not_equal first_message, second_message
end
def test_messing_with_either_encrypted_values_causes_failure