setup :fixtures => :all
login :as => 'admin'
open "/projects/1"
click "edit_icon_todo_5"
wait_for_element_present "show_from_todo_5"
type "project_name_todo_5", ""
click "css=#submit_todo_5"
wait_for_element_not_present "todo_5"
assert_text 'badge_count', '1'