diff --git a/features/step_definitions/todo_edit_steps.rb b/features/step_definitions/todo_edit_steps.rb index 3d905495..320df3e2 100644 --- a/features/step_definitions/todo_edit_steps.rb +++ b/features/step_definitions/todo_edit_steps.rb @@ -70,6 +70,7 @@ When /I change the (.*) field of "([^\"]*)" to "([^\"]*)"$/ do |field_name, todo fill_in "#{field_name}", :with => new_value end submit_edit_todo_form(todo) + wait_for_ajax end When /^I edit the context of "([^"]*)" to "([^"]*)"$/ do |todo_name, context_new_name|