# frozen_string_literal: true

FactoryBot.define do
  factory :community do
    sequence(:name) { |n| "Community #{n}" }
    sequence(:abbrv) { |n| "C#{n % 10}" }
    sequence(:slug) { |n| "community#{n}" }
  end
end

# frozen_string_literal: true

FactoryBot.define do
  factory :community do
    sequence(:name) { |n| "Community #{n}" }
    sequence(:abbrv) { |n| "C#{n % 10}" }
    sequence(:slug) { |n| "community#{n}" }
    country_code { "US" }
  end
end

Set country code in community factory
797: Set country code in community factory
