Add note working again for Projects

This commit is contained in:
Eric Allen 2009-10-15 21:16:22 -04:00
parent 00da0b36aa
commit 94ec1d46bb
3 changed files with 23 additions and 3 deletions

View file

@ -0,0 +1,14 @@
setup :fixtures => :all
login :as => 'admin'
#first, defer a todo
open "/projects/1"
click "css=.add_note_link a"
assert_visible "new-note"
type "new_note_body", "this is a note"
click 'css=#new-note input[type=submit]'
wait_for_text_present "this is a note"