Sha256: 03825685340f232d488f5e35632a6fdcb256de52f8df34d8903b2cf624c88ca4

Contents?: true

Size: 283 Bytes

Versions: 2

Compression:

Stored size: 283 Bytes

Contents

# Read about factories at https://github.com/thoughtbot/factory_girl

FactoryGirl.define do
  factory :knowledge_base_category, aliases: [:category], class: 'KnowledgeBase::Category' do
    title "MyString"
    description "MyText"
    category nil
    sequence(:position)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
knowledge_base-0.1.0 spec/factories/knowledge_base_categories.rb
knowledge_base-0.0.3 spec/factories/knowledge_base_categories.rb