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

@ -157,7 +157,7 @@ class RecurringTodosController < ApplicationController
:recurring_show_always, :weekly_every_x_week, :weekly_return_monday,
:yearly_day_of_week, :yearly_every_x_day, :yearly_every_xth_day,
:yearly_month_of_year2, :yearly_month_of_year,
# derived attribues
# derived attributes
:weekly_return_monday, :weekly_return_tuesday, :weekly_return_wednesday,
:weekly_return_thursday, :weekly_return_friday, :weekly_return_saturday, :weekly_return_sunday
)

View file

@ -9,7 +9,7 @@ Feature: Existing user logging in
| testuser | secret | false | Test | User |
| admin | secret | true | Admin | User |
Scenario Outline: Succesfull and unsuccesfull login
Scenario Outline: Successful and unsuccessful login
When I go to the login page
And I submit the login form as user "<user>" with password "<password>"
Then I should be <there>

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)