Sha256: 2d564c524bfbf2887a42df088c0c5eccf8081ab7f532482ba5bf771cef0d2ab2

Contents?: true

Size: 281 Bytes

Versions: 97

Compression:

Stored size: 281 Bytes

Contents

FactoryBot.define do
  factory :country, class: Spree::Country do
    sequence(:iso_name) { |n| "ISO_NAME_#{n}" }
    sequence(:name)     { |n| "NAME_#{n}" }
    sequence(:iso)      { |n| "I#{n}" }
    sequence(:iso3)     { |n| "IS#{n}" }
    numcode             { 840 }
  end
end

Version data entries

97 entries across 97 versions & 1 rubygems

Version Path
spree_core-4.10.1 lib/spree/testing_support/factories/country_factory.rb
spree_core-4.10.0 lib/spree/testing_support/factories/country_factory.rb
spree_core-4.9.0 lib/spree/testing_support/factories/country_factory.rb
spree_core-4.8.3 lib/spree/testing_support/factories/country_factory.rb
spree_core-4.8.2 lib/spree/testing_support/factories/country_factory.rb
spree_core-4.7.3 lib/spree/testing_support/factories/country_factory.rb
spree_core-4.6.6 lib/spree/testing_support/factories/country_factory.rb
spree_core-4.5.5 lib/spree/testing_support/factories/country_factory.rb
spree_core-4.0.9 lib/spree/testing_support/factories/country_factory.rb
spree_core-4.1.15 lib/spree/testing_support/factories/country_factory.rb
spree_core-4.2.7 lib/spree/testing_support/factories/country_factory.rb
spree_core-4.3.3 lib/spree/testing_support/factories/country_factory.rb
spree_core-4.4.1 lib/spree/testing_support/factories/country_factory.rb
spree_core-4.5.4 lib/spree/testing_support/factories/country_factory.rb
spree_core-4.6.5 lib/spree/testing_support/factories/country_factory.rb
spree_core-4.7.2 lib/spree/testing_support/factories/country_factory.rb
spree_core-4.7.1 lib/spree/testing_support/factories/country_factory.rb
spree_core-4.6.4 lib/spree/testing_support/factories/country_factory.rb
spree_core-4.7.0 lib/spree/testing_support/factories/country_factory.rb
spree_core-4.6.3 lib/spree/testing_support/factories/country_factory.rb