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:
parent
6cf47c533d
commit
77828e20fc
1 changed files with 2 additions and 2 deletions
|
@ -29,9 +29,9 @@ class MessageEncryptorTest < ActiveSupport::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_encrypting_twice_yields_differing_cipher_text
|
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
|
second_message = @encryptor.encrypt_and_sign(@data).split("--").first
|
||||||
assert_not_equal first_messqage, second_message
|
assert_not_equal first_message, second_message
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_messing_with_either_encrypted_values_causes_failure
|
def test_messing_with_either_encrypted_values_causes_failure
|
||||||
|
|
Loading…
Reference in a new issue