Skip to content

Commit

Permalink
Fix a false assertion
Browse files Browse the repository at this point in the history
#assert was used when it should be assert_equal.
  • Loading branch information
yuki24 committed Jan 17, 2015
1 parent 49c9d79 commit 47c369a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/test/cases/date_time_test.rb
Expand Up @@ -55,7 +55,7 @@ def test_assign_in_local_timezone
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

0 comments on commit 47c369a

Please sign in to comment.