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.6.5 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.9.1 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.9.0 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.9.0.rc.1 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.8.4 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.8.3 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.7.2 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.6.4 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.8.2 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.8.1 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.6.3 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.8.0 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.7.1 lib/spree/testing_support/factories/store_factory.rb
solidus_core_devise_token_auth-2.8.0.alpha.14 lib/spree/testing_support/factories/store_factory.rb
solidus_core_devise_token_auth-2.8.0.alpha.13 lib/spree/testing_support/factories/store_factory.rb
solidus_core_devise_token_auth-2.8.0.alpha.12 lib/spree/testing_support/factories/store_factory.rb
solidus_core_devise_token_auth-2.8.0.alpha.11 lib/spree/testing_support/factories/store_factory.rb
solidus_core_devise_token_auth-2.8.0.alpha.10 lib/spree/testing_support/factories/store_factory.rb
solidus_core_devise_token_auth-2.8.0.alpha.9 lib/spree/testing_support/factories/store_factory.rb
solidus_core_devise_token_auth-2.8.0.alpha.8 lib/spree/testing_support/factories/store_factory.rb