another attempt at #1150 and fix some failing cucumber scenarios

This commit is contained in:
Reinier Balt 2011-04-19 16:40:55 +02:00
parent 539e18d87e
commit cb58318858
11 changed files with 82 additions and 86 deletions

View file

@ -51,6 +51,11 @@ When /^I submit a new action with description "([^"]*)" to project "([^"]*)" wit
submit_next_action_form
end
When /^I submit a new action with description "([^"]*)" to project "([^"]*)" in the context "([^"]*)"$/ do |description, project_name, context_name|
When "I submit a new action with description \"#{description}\" to project \"#{project_name}\" with tags \"\" in the context \"#{context_name}\""
end
When /^I submit a new action with description "([^"]*)" in the context "([^"]*)"$/ do |description, context_name|
fill_in "todo[description]", :with => description