code layout clean up context "#assignable_users" of unit issue test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10635 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
0bcc6115c3
commit
756adebb96
|
@ -1286,7 +1286,8 @@ class IssueTest < ActiveSupport::TestCase
|
||||||
assert_equal 2, assignable_user_ids.length
|
assert_equal 2, assignable_user_ids.length
|
||||||
|
|
||||||
assignable_user_ids.each do |user_id|
|
assignable_user_ids.each do |user_id|
|
||||||
assert_equal 1, assignable_user_ids.select {|i| i == user_id}.length, "User #{user_id} appears more or less than once"
|
assert_equal 1, assignable_user_ids.select {|i| i == user_id}.length,
|
||||||
|
"User #{user_id} appears more or less than once"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue