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.3.4 lib/spree/testing_support/factories/tag_factory.rb
spree_core-3.2.7 lib/spree/testing_support/factories/tag_factory.rb
spree_core-3.3.3 lib/spree/testing_support/factories/tag_factory.rb
spree_core-3.2.6 lib/spree/testing_support/factories/tag_factory.rb
spree_core-3.4.1 lib/spree/testing_support/factories/tag_factory.rb
spree_core-3.4.0 lib/spree/testing_support/factories/tag_factory.rb
spree_core-3.4.0.rc2 lib/spree/testing_support/factories/tag_factory.rb
spree_core-3.4.0.rc1 lib/spree/testing_support/factories/tag_factory.rb
spree_core-3.3.2 lib/spree/testing_support/factories/tag_factory.rb
spree_core-3.2.5 lib/spree/testing_support/factories/tag_factory.rb
spree_core-3.3.1 lib/spree/testing_support/factories/tag_factory.rb
spree_core-3.2.4 lib/spree/testing_support/factories/tag_factory.rb
spree_core-3.3.0 lib/spree/testing_support/factories/tag_factory.rb
spree_core-3.3.0.rc4 lib/spree/testing_support/factories/tag_factory.rb
spree_core-3.3.0.rc3 lib/spree/testing_support/factories/tag_factory.rb
spree_core-3.2.3 lib/spree/testing_support/factories/tag_factory.rb
spree_core-3.2.2 lib/spree/testing_support/factories/tag_factory.rb
spree_core-3.3.0.rc2 lib/spree/testing_support/factories/tag_factory.rb
spree_core-3.3.0.rc1 lib/spree/testing_support/factories/tag_factory.rb
spree_core-3.2.1 lib/spree/testing_support/factories/tag_factory.rb