Sha256: 1c55639ce347fe648599b52d53207010754822fcf446ca65fcc9903982e4b21b

Contents?: true

Size: 297 Bytes

Versions: 3

Compression:

Stored size: 297 Bytes

Contents

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

FactoryGirl.define do
  factory :knowledge_base_sectionables_text, aliases: [:text], class: 'Sectionables::Text' do
    heading "MyString"
    lead "MyText"
    body "MyText"
    weight "MyString"
    sectionable 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_texts.rb
knowledge_base-0.1.0 spec/factories/knowledge_base_sectionables_texts.rb
knowledge_base-0.0.3 spec/factories/knowledge_base_sectionables_texts.rb