mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-18 00:00:12 +01:00
improve grammar in test
This commit is contained in:
parent
2039ae05db
commit
e5294f070f
2 changed files with 2 additions and 2 deletions
|
|
@ -33,4 +33,4 @@ Feature: Add a todo to Tracks on console
|
|||
|
||||
"""
|
||||
When I execute the add-todo script
|
||||
Then I should have 2 todo in project "Project A"
|
||||
Then I should have 2 todos in project "Project A"
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue