From aaa37be223261d0ddc736fec2686237256926344 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 9 May 2013 13:03:41 +0000 Subject: [PATCH] fix failure of test_remove_issue_watcher_from_sidebar at UI IssuesTest
  2) Failure:
test_remove_issue_watcher_from_sidebar(Redmine::UiTest::IssuesTest) [test/ui/issues_test.rb:186]:
"Watcher.count" didn't change by -1.
<3> expected but was
<4>.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11807 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/ui/issues_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5