Patch by Ondřej Ezr.
git-svn-id: http://svn.redmine.org/redmine/trunk@13861
e93f8b46-1217-0410-a6f0-
8f06a7374b81
within('#context-menu') do
click_link 'Watch'
end
+ # wait for ajax response
+ assert page.has_css?('#context-menu .issue-1-watcher.icon-fav')
assert page.has_css?('tr#issue-1')
end
assert Issue.find(1).watched_by?(User.find_by_login('jsmith'))
within('#context-menu') do
click_link 'Watch'
end
+ # wait for ajax response
+ assert page.has_css?('#context-menu .issue-bulk-watcher.icon-fav')
assert page.has_css?('tr#issue-1')
assert page.has_css?('tr#issue-4')
end