prevent failure of test_create_issue_with_watchers at UI IssuesTest

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11824 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2013-05-10 09:22:57 +00:00
parent 8a87ff96f9
commit b49ea330d1
1 changed files with 3 additions and 1 deletions

View File

@ -121,7 +121,9 @@ class Redmine::UiTest::IssuesTest < Redmine::UiTest::Base
click_button 'Add' click_button 'Add'
end end
assert page.has_css?('form#issue-form') assert page.has_css?('form#issue-form')
within('p#watchers_form') do
assert page.has_content?('Some Watcher') assert page.has_content?('Some Watcher')
end
assert_difference 'Issue.count' do assert_difference 'Issue.count' do
find('input[name=commit]').click find('input[name=commit]').click
end end