diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-06-03 12:15:55 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-06-03 12:15:55 +0000 |
commit | 0523ac387b8211b245c127ed3000eddeb83ca196 (patch) | |
tree | 7b03adc01d3c17f9e18dddec83d323161d7bdd08 /test/unit/group_test.rb | |
parent | ef01cada8b6439cb4b88261a35c132b209e19736 (diff) | |
download | redmine-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.rb | 2 |
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 |