fix typos

This commit is contained in:
Carsten Otto 2015-02-09 23:05:04 +01:00
parent f81efebd8c
commit 705f307bfb
4 changed files with 5 additions and 5 deletions

View file

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

View file

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