Test failure due to a regression in Rails 3.2.5.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9762 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
ef01cada8b
commit
0523ac387b
|
@ -114,7 +114,7 @@ class GroupTest < ActiveSupport::TestCase
|
|||
|
||||
def test_user_roles_should_be_removed_when_removing_user_from_group
|
||||
assert User.find(8).member_of?(Project.find(5))
|
||||
User.find(8).groups.clear
|
||||
User.find(8).groups = []
|
||||
assert !User.find(8).member_of?(Project.find(5))
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue