Sha256: d55b1f1694499b9e09d48e3f602013673c21a0df3cf02a2ae136a6ed2ab4b0e8

Contents?: true

Size: 295 Bytes

Versions: 23

Compression:

Stored size: 295 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 { 'solidus@example.org' }
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
solidus_core-4.4.1 lib/spree/testing_support/factories/store_factory.rb
solidus_core-4.4.0 lib/spree/testing_support/factories/store_factory.rb
solidus_core-4.3.4 lib/spree/testing_support/factories/store_factory.rb
solidus_core-4.2.4 lib/spree/testing_support/factories/store_factory.rb
solidus_core-4.1.5 lib/spree/testing_support/factories/store_factory.rb
solidus_core-4.3.3 lib/spree/testing_support/factories/store_factory.rb
solidus_core-4.3.2 lib/spree/testing_support/factories/store_factory.rb
solidus_core-4.1.4 lib/spree/testing_support/factories/store_factory.rb
solidus_core-4.3.1 lib/spree/testing_support/factories/store_factory.rb
solidus_core-4.3.0 lib/spree/testing_support/factories/store_factory.rb
solidus_core-4.2.3 lib/spree/testing_support/factories/store_factory.rb
solidus_core-4.1.3 lib/spree/testing_support/factories/store_factory.rb
solidus_core-4.0.4 lib/spree/testing_support/factories/store_factory.rb
solidus_core-4.0.3 lib/spree/testing_support/factories/store_factory.rb
solidus_core-4.1.2 lib/spree/testing_support/factories/store_factory.rb
solidus_core-4.2.2 lib/spree/testing_support/factories/store_factory.rb
solidus_core-4.2.1 lib/spree/testing_support/factories/store_factory.rb
solidus_core-4.2.0 lib/spree/testing_support/factories/store_factory.rb
solidus_core-4.1.1 lib/spree/testing_support/factories/store_factory.rb
solidus_core-4.0.2 lib/spree/testing_support/factories/store_factory.rb