diff --git a/test/ui/issues_test.rb b/test/ui/issues_test.rb index 00951ba33..587230088 100644 --- a/test/ui/issues_test.rb +++ b/test/ui/issues_test.rb @@ -185,8 +185,8 @@ class Redmine::UiTest::IssuesTest < Redmine::UiTest::Base assert page.first('#sidebar').has_content?(user.name) assert_difference 'Watcher.count', -1 do page.first('ul.watchers .user-3 a.delete').click + assert page.first('#sidebar').has_content?('Watchers (0)') end - assert page.first('#sidebar').has_content?('Watchers (0)') assert page.first('#sidebar').has_no_content?(user.name) end