mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 09:10:25 +08:00
FIX: everyone is not a visible group
This commit is contained in:
parent
f083994f5a
commit
9a94d1b212
4 changed files with 8 additions and 1 deletions
|
@ -154,6 +154,11 @@ describe Group do
|
|||
|
||||
end
|
||||
|
||||
it "makes sure the everyone group is not visible" do
|
||||
g = Group.refresh_automatic_group!(:everyone)
|
||||
expect(g.visible).to eq(false)
|
||||
end
|
||||
|
||||
it "Correctly handles removal of primary group" do
|
||||
group = Fabricate(:group)
|
||||
user = Fabricate(:user)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue