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.1 spec/factories/comee/core/lookups.rb
comee_core-0.3.0 spec/factories/comee/core/lookups.rb
comee_core-0.2.99 spec/factories/comee/core/lookups.rb
comee_core-0.2.98 spec/factories/comee/core/lookups.rb
comee_core-0.2.97 spec/factories/comee/core/lookups.rb
comee_core-0.2.96 spec/factories/comee/core/lookups.rb
comee_core-0.2.95 spec/factories/comee/core/lookups.rb
comee_core-0.2.94 spec/factories/comee/core/lookups.rb
comee_core-0.2.93 spec/factories/comee/core/lookups.rb
comee_core-0.2.92 spec/factories/comee/core/lookups.rb
comee_core-0.2.91 spec/factories/comee/core/lookups.rb
comee_core-0.2.90 spec/factories/comee/core/lookups.rb
comee_core-0.2.89 spec/factories/comee/core/lookups.rb
comee_core-0.2.88 spec/factories/comee/core/lookups.rb
comee_core-0.2.87 spec/factories/comee/core/lookups.rb
comee_core-0.2.86 spec/factories/comee/core/lookups.rb
comee_core-0.2.85 spec/factories/comee/core/lookups.rb
comee_core-0.2.84 spec/factories/comee/core/lookups.rb
comee_core-0.2.83 spec/factories/comee/core/lookups.rb
comee_core-0.2.82 spec/factories/comee/core/lookups.rb