mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 00:43:24 +08:00
9 lines
168 B
Ruby
9 lines
168 B
Ruby
Fabricator(:group) do
|
|
name { sequence(:name) { |n| "my_group_#{n}" } }
|
|
end
|
|
|
|
Fabricator(:public_group, from: :group) do
|
|
public_admission true
|
|
public_exit true
|
|
end
|