add cucumber scenarios for the new done pages

This commit is contained in:
Reinier Balt 2011-06-17 20:17:01 +02:00
parent e531907521
commit 5496b84642
8 changed files with 123 additions and 11 deletions

View file

@ -60,7 +60,6 @@ Then /^I should not see "([^"]*)" in the context container for "([^"]*)"$/ do |t
end
end
Then /^I should see "([^"]*)" in project container for "([^"]*)"$/ do |todo_description, project_name|
todo = @current_user.todos.find_by_description(todo_description)
todo.should_not be_nil