Sha256: aee90b87d2d1c20b29aabd4dd3a33e6a24075f430a808e6418ca7b823665fc81

Contents?: true

Size: 142 Bytes

Versions: 2

Compression:

Stored size: 142 Bytes

Contents

FactoryGirl.define do
  factory :banyan_category, :class => 'Banyan::Category' do |f|
    f.sequence(:name) { |n| "Category #{n}" }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
banyan-1.1.1 spec/factories/banyan_category.rb
banyan-1.0.1 spec/factories/banyan_category.rb