1
0
Fork 0
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:
Yuki Nishijima 2015-01-17 08:06:10 -08:00
parent 49c9d7939b
commit 47c369a2a3

View file

@ -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