Make private favgroups a Gold-only option. This is for consistency with private favorites and upvotes being Gold-only options. Existing Members with private favgroups are allowed to keep them, as long as they don't disable privacy. If they disable it, then they can't re-enable it again without upgrading to Gold first.
12 lines
211 B
Ruby
12 lines
211 B
Ruby
FactoryBot.define do
|
|
factory :favorite_group do
|
|
creator
|
|
name { SecureRandom.uuid }
|
|
|
|
factory :private_favorite_group do
|
|
creator factory: :gold_user
|
|
is_public { false }
|
|
end
|
|
end
|
|
end
|