mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-22 08:46:11 +01:00
assert_equal nil deprecated: replace with assert_nil
This commit is contained in:
parent
a94861ef81
commit
fa7f2a777b
5 changed files with 14 additions and 14 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue