assert_equal nil deprecated: replace with assert_nil

This commit is contained in:
ericmoon 2018-08-02 10:57:11 -07:00
parent a94861ef81
commit fa7f2a777b
5 changed files with 14 additions and 14 deletions

View file

@ -224,7 +224,7 @@ class RecurringTodosControllerTest < ActionController::TestCase
assert_equal UserTime.new(user).midnight(target_date), new_todo.due
# show_from should be nil since now+4.days-10.days is in the past
assert_equal nil, new_todo.show_from
assert_nil new_todo.show_from
end
def test_last_sunday_of_march