mirror of
https://github.com/redmine/redmine.git
synced 2026-07-10 06:02:23 +02:00
Introduces @valid_watcher?@ check on watchables (@40946).
Patch by Jens Krämer (@jkraemer). git-svn-id: https://svn.redmine.org/redmine/trunk@22916 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -477,11 +477,11 @@ class WatchersControllerTest < Redmine::ControllerTest
|
||||
|
||||
assert_response :success
|
||||
|
||||
# All users from two projects eCookbook (7) and Private child of eCookbook (9)
|
||||
assert_select 'input', :count => 5
|
||||
# All users from two projects eCookbook (7) and Private child of eCookbook
|
||||
# (9) who can see both issues
|
||||
assert_select 'input', :count => 4
|
||||
assert_select 'input[name=?][value="1"]', 'watcher[user_ids][]'
|
||||
assert_select 'input[name=?][value="2"]', 'watcher[user_ids][]'
|
||||
assert_select 'input[name=?][value="3"]', 'watcher[user_ids][]'
|
||||
assert_select 'input[name=?][value="8"]', 'watcher[user_ids][]'
|
||||
assert_select 'input[name=?][value="10"]', 'watcher[user_ids][]'
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user