Sha256: c1ee27d9bd2b8e46831a7ae25ffe08d6fe6245e7e844e12a119f57eecb31a750

Contents?: true

Size: 137 Bytes

Versions: 35

Compression:

Stored size: 137 Bytes

Contents

FactoryBot.define do
  factory :author do
    name      { Faker::Name.name }
    specialty { Enum::Specialties.values.sample }
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
torque-postgresql-3.4.1 spec/factories/authors.rb
torque-postgresql-2.4.5 spec/factories/authors.rb
torque-postgresql-3.4.0 spec/factories/authors.rb
torque-postgresql-3.3.3 spec/factories/authors.rb
torque-postgresql-2.4.4 spec/factories/authors.rb
torque-postgresql-3.3.2 spec/factories/authors.rb
torque-postgresql-2.4.3 spec/factories/authors.rb
torque-postgresql-3.3.1 spec/factories/authors.rb
torque-postgresql-3.3.0 spec/factories/authors.rb
torque-postgresql-3.2.2 spec/factories/authors.rb
torque-postgresql-2.4.2 spec/factories/authors.rb
torque-postgresql-2.4.1 spec/factories/authors.rb
torque-postgresql-3.2.1 spec/factories/authors.rb
torque-postgresql-2.4.0 spec/factories/authors.rb
torque-postgresql-3.2.0 spec/factories/authors.rb
torque-postgresql-3.1.0 spec/factories/authors.rb
torque-postgresql-2.3.0 spec/factories/authors.rb
torque-postgresql-3.0.1 spec/factories/authors.rb
torque-postgresql-2.2.4 spec/factories/authors.rb
torque-postgresql-3.0.0 spec/factories/authors.rb