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.21 spec/factories/comee/core/lookups.rb
comee_core-0.3.20 spec/factories/comee/core/lookups.rb
comee_core-0.3.19 spec/factories/comee/core/lookups.rb
comee_core-0.3.18 spec/factories/comee/core/lookups.rb
comee_core-0.3.17 spec/factories/comee/core/lookups.rb
comee_core-0.3.16 spec/factories/comee/core/lookups.rb
comee_core-0.3.15 spec/factories/comee/core/lookups.rb
comee_core-0.3.14 spec/factories/comee/core/lookups.rb
comee_core-0.3.13 spec/factories/comee/core/lookups.rb
comee_core-0.3.12 spec/factories/comee/core/lookups.rb
comee_core-0.3.11 spec/factories/comee/core/lookups.rb
comee_core-0.3.10 spec/factories/comee/core/lookups.rb
comee_core-0.3.9 spec/factories/comee/core/lookups.rb
comee_core-0.3.8 spec/factories/comee/core/lookups.rb
comee_core-0.3.7 spec/factories/comee/core/lookups.rb
comee_core-0.3.6 spec/factories/comee/core/lookups.rb
comee_core-0.3.5 spec/factories/comee/core/lookups.rb
comee_core-0.3.4 spec/factories/comee/core/lookups.rb
comee_core-0.3.3 spec/factories/comee/core/lookups.rb
comee_core-0.3.2 spec/factories/comee/core/lookups.rb