improve grammar in test

This commit is contained in:
Carsten Otto 2015-04-02 13:59:25 +02:00
parent 2039ae05db
commit e5294f070f
2 changed files with 2 additions and 2 deletions

View file

@ -306,7 +306,7 @@ Then /^I should have a project called "([^"]*)"$/ do |project_name|
expect(project).to_not be_nil
end
Then /^I should have (\d+) todo in project "([^"]*)"$/ do |todo_count, project_name|
Then /^I should have (\d+) todos? in project "([^"]*)"$/ do |todo_count, project_name|
project = @current_user.projects.where(:name => project_name).first
expect(project).to_not be_nil
expect(project.todos.count).to eq(todo_count.to_i)