mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-31 13:15:17 +01:00
fix typos
This commit is contained in:
parent
f81efebd8c
commit
705f307bfb
4 changed files with 5 additions and 5 deletions
|
|
@ -776,7 +776,7 @@ class TodosControllerTest < ActionController::TestCase
|
|||
todo = Todo.find(todo.id) #reload does not seem to work here
|
||||
assert todo.completed?
|
||||
|
||||
# Then there should not be an active todo beloning to the repeat pattern
|
||||
# Then there should not be an active todo belonging to the repeat pattern
|
||||
next_todo = Todo.where(:recurring_todo_id => recurring_todo_1.id, :state => 'active').first
|
||||
assert next_todo.nil?
|
||||
|
||||
|
|
@ -814,7 +814,7 @@ class TodosControllerTest < ActionController::TestCase
|
|||
todo.reload
|
||||
assert todo.completed?
|
||||
|
||||
# Then there should not be an active todo beloning to the repeat pattern
|
||||
# Then there should not be an active todo belonging to the repeat pattern
|
||||
next_todo = Todo.where(:recurring_todo_id => recurring_todo.id, :state => 'active').first
|
||||
assert next_todo.nil?
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ class RecurringTodoTest < ActiveSupport::TestCase
|
|||
# assume that target due_date works fine, i.e. don't do the same tests over
|
||||
|
||||
@every_day.target='show_from_date'
|
||||
# when recurrence is targeted on show_from, due date shoult remain nil
|
||||
# when recurrence is targeted on show_from, due date should remain nil
|
||||
assert_equal nil, @every_day.get_due_date(nil)
|
||||
assert_equal nil, @every_day.get_due_date(@today-3.days)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue