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 /activerecord/test/cases/secure_token_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 'activerecord/test/cases/secure_token_test.rb')
-rw-r--r-- | activerecord/test/cases/secure_token_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/secure_token_test.rb b/activerecord/test/cases/secure_token_test.rb index eda0229c26..7b9cbee40a 100644 --- a/activerecord/test/cases/secure_token_test.rb +++ b/activerecord/test/cases/secure_token_test.rb @@ -27,6 +27,6 @@ class SecureTokenTest < ActiveRecord::TestCase @user.token = "custom-secure-token" @user.save - assert_equal @user.token, "custom-secure-token" + assert_equal "custom-secure-token", @user.token end end |