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_devise_token_auth-2.8.0.alpha.7 lib/spree/testing_support/factories/store_factory.rb
solidus_core_devise_token_auth-2.8.0.alpha.6 lib/spree/testing_support/factories/store_factory.rb
solidus_core_devise_token_auth-2.8.0.alpha.5 lib/spree/testing_support/factories/store_factory.rb
solidus_core_devise_token_auth-2.8.0.alpha.4 lib/spree/testing_support/factories/store_factory.rb
solidus_core_devise_token_auth-2.8.0.alpha.3 lib/spree/testing_support/factories/store_factory.rb
solidus_core_devise_token_auth-2.8.0.alpha.1 lib/spree/testing_support/factories/store_factory.rb
solidus_core_devise_token_auth-2.8.0.alpha.0 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.7.0 lib/spree/testing_support/factories/store_factory.rb