Sha256: 55804519075c7f63ba067df5f18c28cebce2ec35cdadb7169ebcf572e8bddfb3

Contents?: true

Size: 613 Bytes

Versions: 6

Compression:

Stored size: 613 Bytes

Contents

FactoryBot.define do
  factory :store, class: Spree::Store do
    sequence(:code)        { |i| "spree_#{i}" }
    name                   { 'Spree Test Store' }
    url                    { 'www.example.com' }
    mail_from_address      { 'no-reply@example.com' }
    customer_support_email { 'support@example.com' }
    new_order_notifications_email { 'store-owner@example.com' }
    default_currency       { 'USD' }
    supported_currencies   { 'USD,EUR,GBP' }
    facebook               { 'spreecommerce' }
    twitter                { 'spreecommerce' }
    instagram              { 'spreecommerce' }
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
spree_core-4.2.0.rc5 lib/spree/testing_support/factories/store_factory.rb
spree_core-4.2.0.rc4 lib/spree/testing_support/factories/store_factory.rb
spree_core-4.2.0.rc3 lib/spree/testing_support/factories/store_factory.rb
spree_core-4.2.0.rc2 lib/spree/testing_support/factories/store_factory.rb
spree_core-4.2.0.rc1 lib/spree/testing_support/factories/store_factory.rb
spree_core-4.2.0.beta lib/spree/testing_support/factories/store_factory.rb