Sha256: 8fb5b382697812b6e0b8852bc35aa74c43032343672f32929c17d32b1eb67ac8

Contents?: true

Size: 187 Bytes

Versions: 4

Compression:

Stored size: 187 Bytes

Contents

FactoryBot.define do
  factory :company do
    active { [true, false].sample }
    name { Faker::Name.name }
    slug { Faker::Internet.slug }
    # region
    # region { nil }
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rails_app_generator-0.3.6 after_templates/addons/factory_bot/custom_factories/company.rb
rails_app_generator-0.3.5 after_templates/addons/factory_bot/custom_factories/company.rb
rails_app_generator-0.3.4 after_templates/addons/factory_bot/custom_factories/company.rb
rails_app_generator-0.3.3 after_templates/addons/factory_bot/custom_factories/company.rb