Sha256: 173a138c04b312e9822d16604a2a3d6e1a9cfc8f194cb6f52eba4af72a172686

Contents?: true

Size: 293 Bytes

Versions: 48

Compression:

Stored size: 293 Bytes

Contents

# frozen_string_literal: true

FactoryBot.define do
  factory :store, class: 'Spree::Store' do
    sequence(:code) { |i| "spree_#{i}" }
    sequence(:name) { |i| "Spree Test Store #{i}" }
    sequence(:url) { |i| "www.example#{i}.com" }
    mail_from_address { 'spree@example.org' }
  end
end

Version data entries

48 entries across 48 versions & 2 rubygems

Version Path
solidus_core-2.10.5 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.11.3 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.11.2 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.11.1 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.10.3 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.11.0 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.10.2 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.9.6 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.8.6 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.10.1 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.9.5 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.10.0 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.9.4 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.6.6 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.7.4 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.8.5 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.9.3 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.9.2 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.10.0.beta1 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.7.3 lib/spree/testing_support/factories/store_factory.rb