Correct context hiding behavior in tag view

Fixes #952
This commit is contained in:
Eric Allen 2009-12-20 13:05:42 -05:00
parent 0eec884428
commit 9ddd5c5d2a
4 changed files with 17 additions and 2 deletions

View file

@ -0,0 +1,7 @@
#Test for issue #952
setup :fixtures => :all
login :as => 'admin'
open "/todos/tag/foo"
click "css=#line_todo_2 .item-checkbox"
wait_for_element_not_present "css=#c2 #line_todo_2"
wait_for_not_visible "c2"

View file

@ -0,0 +1,8 @@
setup :fixtures => :all
login :as => 'admin'
open "/todos/tag/foo"
type "todo_description", "run around"
type "todo_context_name", "freetime"
click "todo_new_action_submit"
wait_for_visible "flash"
assert_text "css=#c7items div.description span", "run around"