Sha256: 4561a04162e904ad7cdeda54d684e08b2917d01396acff12072318dfa684b76b

Contents?: true

Size: 257 Bytes

Versions: 59

Compression:

Stored size: 257 Bytes

Contents

FactoryGirl.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

59 entries across 59 versions & 1 rubygems

Version Path
solidus_core-2.3.1 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.2.2 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.1.1 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.0.3 lib/spree/testing_support/factories/store_factory.rb
solidus_core-1.4.2 lib/spree/testing_support/factories/store_factory.rb
solidus_core-1.3.2 lib/spree/testing_support/factories/store_factory.rb
solidus_core-1.2.3 lib/spree/testing_support/factories/store_factory.rb
solidus_core-1.1.4 lib/spree/testing_support/factories/store_factory.rb
solidus_core-1.0.7 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.3.0 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.3.0.rc3 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.3.0.rc2 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.3.0.rc1 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.3.0.beta1 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.0.2 lib/spree/testing_support/factories/store_factory.rb
solidus_core-1.4.1 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.2.1 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.2.0 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.2.0.rc1 lib/spree/testing_support/factories/store_factory.rb
solidus_core-2.2.0.beta1 lib/spree/testing_support/factories/store_factory.rb