Sha256: 579f0dbc09245208aafcce9b4ad3a496fdeae3381d9d73733ed23c90c8a7b1b8

Contents?: true

Size: 132 Bytes

Versions: 24

Compression:

Stored size: 132 Bytes

Contents

FactoryGirl.define do
  factory :tag, class: Spree::Tag do
    sequence(:name) { |n| "Tag ##{n} - #{Kernel.rand(9999)}" }
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
spree_core-3.2.0 lib/spree/testing_support/factories/tag_factory.rb
spree_core-3.2.0.rc3 lib/spree/testing_support/factories/tag_factory.rb
spree_core-3.2.0.rc2 lib/spree/testing_support/factories/tag_factory.rb
spree_core-3.2.0.rc1 lib/spree/testing_support/factories/tag_factory.rb