Sha256: 5c2ec4c25184b4c34775212b79d0bad1c6b4bc611b0c7dd27ebbcc1d9d591d2f

Contents?: true

Size: 245 Bytes

Versions: 6

Compression:

Stored size: 245 Bytes

Contents

FactoryBot.define do
  factory :user, class: User do
    name { Faker::Name.first_name }
    last_name { Faker::Name.last_name }
    sex { [Commons::Concerns::Attributes::Sex::FEMALE, Commons::Concerns::Attributes::Sex::MALE].sample }
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
commons_yellowme-0.16.0 spec/factories/users.rb
commons_yellowme-0.15.0 spec/factories/users.rb
commons_yellowme-0.12.0 spec/factories/users.rb
commons_yellowme-0.11.3 spec/factories/users.rb
commons_yellowme-0.11.2 spec/factories/users.rb
commons_yellowme-0.11.1 spec/factories/users.rb