discourse/spec/fabricators/group_fabricator.rb

9 lines
168 B
Ruby
Raw Normal View History

Fabricator(:group) do
2016-12-14 04:26:16 -05:00
name { sequence(:name) { |n| "my_group_#{n}" } }
end
Fabricator(:public_group, from: :group) do
public_admission true
public_exit true
end