add tests for toggling visibility of collapsed contexts

This commit is contained in:
Reinier Balt 2011-09-10 00:51:39 +02:00
parent 30c2fb8b82
commit cdff38995c
5 changed files with 127 additions and 5 deletions

View file

@ -163,7 +163,8 @@ Given /^I have a project "([^"]*)" that has the following todos$/ do |project_na
new_todo = @current_user.todos.create!(
:description => todo[:description],
:context_id => context.id,
:project_id=>@project.id)
:project_id=>@project.id,
:notes => todo[:notes])
unless todo[:tags].nil?
new_todo.tag_with(todo[:tags])
end