summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/unit/user_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/user_test.rb b/test/unit/user_test.rb
index 2de0b45db..69a79b465 100644
--- a/test/unit/user_test.rb
+++ b/test/unit/user_test.rb
@@ -577,7 +577,7 @@ class UserTest < ActiveSupport::TestCase
user.password = p
user.password_confirmation = p
assert_not user.save
- assert user.errors.full_messages.include?('Password is too simple')
+ assert_includes user.errors.full_messages, 'Password is too simple'
end
end