Sha256: d4ee0350912057b0898a66968e398467207c3f8db17d7e6c754cac3e67967d1a

Contents?: true

Size: 189 Bytes

Versions: 44

Compression:

Stored size: 189 Bytes

Contents

Factory.sequence(:shipping_category_sequence) {|n| "ShippingCategory ##{n}"}

Factory.define(:shipping_category) do |record|
  record.name { Factory.next(:shipping_category_sequence) } 
end

Version data entries

44 entries across 44 versions & 8 rubygems

Version Path
spree_core-0.70.7 lib/spree_core/testing_support/factories/shipping_category_factory.rb
spree-0.11.4 test/factories/shipping_category_factory.rb
spree_core-0.70.6 lib/spree_core/testing_support/factories/shipping_category_factory.rb
apispree_core-0.0.0 lib/spree_core/testing_support/factories/shipping_category_factory.rb
My-Commerce_core-1.1.0 lib/spree_core/testing_support/factories/shipping_category_factory.rb
My-Commerce_core-1.0.0 lib/spree_core/testing_support/factories/shipping_category_factory.rb
MyCommerceapi-1.0.0 core/lib/spree_core/testing_support/factories/shipping_category_factory.rb
MyCommerce-0.0.3 core/lib/spree_core/testing_support/factories/shipping_category_factory.rb
rfcommerce_core-0.0.3 lib/spree_core/testing_support/factories/shipping_category_factory.rb
spree_core-0.60.6 lib/spree_core/testing_support/factories/shipping_category_factory.rb
spree_core-0.70.5 lib/spree_core/testing_support/factories/shipping_category_factory.rb
spree_core-0.70.4 lib/spree_core/testing_support/factories/shipping_category_factory.rb
spree_core-0.60.5 lib/spree_core/testing_support/factories/shipping_category_factory.rb
spree_core-0.70.3 lib/spree_core/testing_support/factories/shipping_category_factory.rb
spree_core-0.70.2 lib/spree_core/testing_support/factories/shipping_category_factory.rb
spree-0.11.3 test/factories/shipping_category_factory.rb
spree_core-0.50.4 lib/spree_core/testing_support/factories/shipping_category_factory.rb
spree_core-0.60.4 lib/spree_core/testing_support/factories/shipping_category_factory.rb
spree_core-0.50.3 lib/spree_core/testing_support/factories/shipping_category_factory.rb
spree_core-0.60.3 lib/spree_core/testing_support/factories/shipping_category_factory.rb