Sha256: 846e4284c170eb3437a8ee0779773ca1fdc636dff859927d432b2e337dc6c070

Contents?: true

Size: 228 Bytes

Versions: 11

Compression:

Stored size: 228 Bytes

Contents

FactoryGirl.define do
  sequence(:shipping_category_sequence) { |n| "ShippingCategory ##{n}" }

  factory :shipping_category, :class => Spree::ShippingCategory do
    name { Factory.next(:shipping_category_sequence) }
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
spree_core-1.0.7 lib/spree/core/testing_support/factories/shipping_category_factory.rb
spree_core-1.0.6 lib/spree/core/testing_support/factories/shipping_category_factory.rb
spree_core-1.0.4 lib/spree/core/testing_support/factories/shipping_category_factory.rb
spree_core-1.0.3 lib/spree/core/testing_support/factories/shipping_category_factory.rb
spree_core-1.0.2 lib/spree/core/testing_support/factories/shipping_category_factory.rb
spree_core-1.0.1 lib/spree/core/testing_support/factories/shipping_category_factory.rb
spree_core-1.0.0 lib/spree/core/testing_support/factories/shipping_category_factory.rb
spree_core-1.0.0.rc4 lib/spree/core/testing_support/factories/shipping_category_factory.rb
spree_core-1.0.0.rc3 lib/spree/core/testing_support/factories/shipping_category_factory.rb
spree_core-1.0.0.rc2 lib/spree/core/testing_support/factories/shipping_category_factory.rb
spree_core-1.0.0.rc1 lib/spree/core/testing_support/factories/shipping_category_factory.rb