Sha256: 26c560525adad5ce5339b7c0da851a613082ef147273c8f4c525f3bf9c6e7a4f

Contents?: true

Size: 295 Bytes

Versions: 89

Compression:

Stored size: 295 Bytes

Contents

FactoryBot.define do
  factory :lookup, class: "Comee::Core::Lookup" do
    code { Faker::Alphanumeric.alpha(number: 8) }
    name { Faker::Lorem.word }
    lookup_type { Faker::Alphanumeric.alpha(number: 8) }
  end

  factory :country, parent: :lookup do
    lookup_type { :country }
  end
end

Version data entries

89 entries across 89 versions & 1 rubygems

Version Path
comee_core-0.3.62 spec/factories/comee/core/lookups.rb
comee_core-0.3.61 spec/factories/comee/core/lookups.rb
comee_core-0.3.60 spec/factories/comee/core/lookups.rb
comee_core-0.3.59 spec/factories/comee/core/lookups.rb
comee_core-0.3.58 spec/factories/comee/core/lookups.rb
comee_core-0.3.57 spec/factories/comee/core/lookups.rb
comee_core-0.3.56 spec/factories/comee/core/lookups.rb
comee_core-0.3.55 spec/factories/comee/core/lookups.rb
comee_core-0.3.54 spec/factories/comee/core/lookups.rb
comee_core-0.3.53 spec/factories/comee/core/lookups.rb
comee_core-0.3.51 spec/factories/comee/core/lookups.rb
comee_core-0.3.50 spec/factories/comee/core/lookups.rb
comee_core-0.3.49 spec/factories/comee/core/lookups.rb
comee_core-0.3.48 spec/factories/comee/core/lookups.rb
comee_core-0.3.47 spec/factories/comee/core/lookups.rb
comee_core-0.3.46 spec/factories/comee/core/lookups.rb
comee_core-0.3.45 spec/factories/comee/core/lookups.rb
comee_core-0.3.44 spec/factories/comee/core/lookups.rb
comee_core-0.3.43 spec/factories/comee/core/lookups.rb
comee_core-0.3.42 spec/factories/comee/core/lookups.rb