Merged r12951.

git-svn-id: http://svn.redmine.org/redmine/branches/2.5-stable@12952 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2014-03-02 11:24:13 +00:00
parent c75e07f8d3
commit 91a161fadb
1 changed files with 1 additions and 2 deletions

View File

@ -113,9 +113,8 @@ class Redmine::UiTest::IssuesTest < Redmine::UiTest::Base
assert page.has_no_content?('Some Watcher') assert page.has_no_content?('Some Watcher')
click_link 'Search for watchers to add' click_link 'Search for watchers to add'
within('form#new-watcher-form') do within('form#new-watcher-form') do
assert page.has_content?('Some One')
fill_in 'user_search', :with => 'watch' fill_in 'user_search', :with => 'watch'
assert page.has_no_content?('Some One') assert page.has_content?('Some Watcher')
check 'Some Watcher' check 'Some Watcher'
click_button 'Add' click_button 'Add'
end end