discourse/spec/fabricators/group_fabricator.rb

11 lines
199 B
Ruby

# frozen_string_literal: true
Fabricator(:group) do
name { sequence(:name) { |n| "my_group_#{n}" } }
end
Fabricator(:public_group, from: :group) do
public_admission true
public_exit true
end