Prefer Time.current to Time.now

This commit is contained in:
Mike Dalessio
2025-11-20 09:13:17 -05:00
parent f6cfb5fde4
commit 88750a3498
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -65,6 +65,6 @@ class Card::StatusesTest < ActiveSupport::TestCase
card.publish
assert_equal Time.now, card.created_at
assert_equal Time.current, card.created_at
end
end