Sped up a couple of tests

This commit is contained in:
Eric Allen 2009-10-16 23:54:50 -04:00
parent 67e88acacc
commit 290fa3351c
2 changed files with 3 additions and 6 deletions

View file

@ -12,13 +12,12 @@ assert_text 'badge_count', '2'
type "todo_description", "add one to hidden project 1"
click "css=#todo-form-new-action .submit_box button"
wait_for_visible "flash"
wait_for_not_visible "flash"
type "todo_description", "add one to hidden project 2"
click "css=#todo-form-new-action .submit_box button"
wait_for_visible "flash"
assert_text 'badge_count', '4'
wait_for_text 'badge_count', '4'
open '/projects/1'
assert_text 'badge_count', '4'