mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix a false assertion
#assert was used when it should be assert_equal.
This commit is contained in:
parent
49c9d7939b
commit
47c369a2a3
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ class DateTimeTest < ActiveRecord::TestCase
|
|||
now = DateTime.now
|
||||
with_timezone_config default: :local do
|
||||
task = Task.new starting: now
|
||||
assert now, task.starting
|
||||
assert_equal now, task.starting
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue