mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-06 17:28:50 +01:00
Add testcase where changing the name of a project should be reflected in the default project name. resolves #756
This commit is contained in:
parent
539b4f96a1
commit
dce58f41f8
1 changed files with 13 additions and 0 deletions
|
|
@ -0,0 +1,13 @@
|
|||
setup :fixtures => :all
|
||||
login :as => 'admin'
|
||||
open "/projects/1"
|
||||
|
||||
# change project name
|
||||
click "project_name_in_place_editor"
|
||||
wait_for_element_present "css=#project_name_in_place_editor-inplaceeditor input.editor_field"
|
||||
type "css=#project_name_in_place_editor-inplaceeditor input.editor_field", "Test Foo"
|
||||
click "css=#project_name_in_place_editor-inplaceeditor input.editor_ok_button"
|
||||
wait_for_text "project_name_in_place_editor", "Test Foo"
|
||||
|
||||
# check that the default project name is changed too
|
||||
assert_value "todo_project_name", "Test Foo"
|
||||
Loading…
Add table
Add a link
Reference in a new issue