aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/message_verifier_test.rb
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2016-12-26 11:04:41 +0900
committerAkira Matsuda <ronnie@dio.jp>2016-12-26 11:04:56 +0900
commita46b2f8911c5730c8c56d487b65f7c5627d334ee (patch)
tree6ec9e97e0fc92e754daae843abaed7a11a281775 /activesupport/test/message_verifier_test.rb
parente813a9f8605a5cbb34d3ee218f7fed49c98d5378 (diff)
downloadrails-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.rb2
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