summaryrefslogtreecommitdiffstats
path: root/test/unit/group_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-06-03 12:15:55 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-06-03 12:15:55 +0000
commit0523ac387b8211b245c127ed3000eddeb83ca196 (patch)
tree7b03adc01d3c17f9e18dddec83d323161d7bdd08 /test/unit/group_test.rb
parentef01cada8b6439cb4b88261a35c132b209e19736 (diff)
downloadredmine-0523ac387b8211b245c127ed3000eddeb83ca196.tar.gz
redmine-0523ac387b8211b245c127ed3000eddeb83ca196.zip
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
Diffstat (limited to 'test/unit/group_test.rb')
-rw-r--r--test/unit/group_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/group_test.rb b/test/unit/group_test.rb
index 8038ba45c..b25b7014d 100644
--- a/test/unit/group_test.rb
+++ b/test/unit/group_test.rb
@@ -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