From 6e1ad5e200364c22af31506c687796f4ac56303b Mon Sep 17 00:00:00 2001 From: Reinier Balt Date: Sun, 15 Jul 2012 20:11:07 +0200 Subject: [PATCH] fix small timing issue --- features/step_definitions/todo_edit_steps.rb | 1 + 1 file changed, 1 insertion(+) 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|