mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
fix issue adding users to groups
This commit is contained in:
@@ -47,6 +47,11 @@ describe Group do
|
||||
|
||||
Group[:trust_level_1].user_ids.should == []
|
||||
Group[:trust_level_2].user_ids.should == [user.id]
|
||||
|
||||
user2 = Fabricate(:coding_horror)
|
||||
user2.change_trust_level!(:regular)
|
||||
|
||||
Group[:trust_level_2].user_ids.sort.should == [user.id, user2.id].sort
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user