diff options
author | Akira Matsuda <ronnie@dio.jp> | 2016-12-26 11:04:41 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2016-12-26 11:04:56 +0900 |
commit | a46b2f8911c5730c8c56d487b65f7c5627d334ee (patch) | |
tree | 6ec9e97e0fc92e754daae843abaed7a11a281775 /activesupport/test/message_verifier_test.rb | |
parent | e813a9f8605a5cbb34d3ee218f7fed49c98d5378 (diff) | |
download | rails-a46b2f8911c5730c8c56d487b65f7c5627d334ee.tar.gz rails-a46b2f8911c5730c8c56d487b65f7c5627d334ee.tar.bz2 rails-a46b2f8911c5730c8c56d487b65f7c5627d334ee.zip |
assert_equal takes expectation first
Diffstat (limited to 'activesupport/test/message_verifier_test.rb')
-rw-r--r-- | activesupport/test/message_verifier_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/message_verifier_test.rb b/activesupport/test/message_verifier_test.rb index d56a46b250..d6109c761d 100644 --- a/activesupport/test/message_verifier_test.rb +++ b/activesupport/test/message_verifier_test.rb @@ -80,6 +80,6 @@ class MessageVerifierTest < ActiveSupport::TestCase exception = assert_raise(ArgumentError) do ActiveSupport::MessageVerifier.new(nil) end - assert_equal exception.message, "Secret should not be nil." + assert_equal "Secret should not be nil.", exception.message end end |