Sha256: b42ff21e17ad22d13eef77282d7b2b02526ad41f0353e21740e0965261370d5e

Contents?: true

Size: 274 Bytes

Versions: 3

Compression:

Stored size: 274 Bytes

Contents

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

FactoryGirl.define do
  factory :knowledge_base_sectionables_list_item, aliases: [:item], class: 'Sectionables::List::Item' do
    title "MyString"
    body "MyText"
    position 1
    list nil
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
knowledge_base-0.2.0 spec/factories/knowledge_base_sectionables_list_items.rb
knowledge_base-0.1.0 spec/factories/knowledge_base_sectionables_list_items.rb
knowledge_base-0.0.3 spec/factories/knowledge_base_sectionables_list_items.rb