Sha256: 297dc9cce07d5cee20154d8baacd3d81b8d29ddd5b373287b52ec6067fdf1a17

Contents?: true

Size: 250 Bytes

Versions: 33

Compression:

Stored size: 250 Bytes

Contents

# encoding: utf-8
if Object.const_defined?("PagePart")
  FactoryGirl.define do
    factory :page, :class => PagePart do |p|
      p.key "main"
      p.content "Test content"
      p.association :partable, :factory => :structure_page
    end
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
sunrise-cms-1.0.6 spec/factories/page_factory.rb
sunrise-cms-1.0.5 spec/factories/page_factory.rb
sunrise-cms-1.0.4 spec/factories/page_factory.rb
sunrise-cms-1.0.3 spec/factories/page_factory.rb
sunrise-cms-1.0.2 spec/factories/page_factory.rb
sunrise-cms-1.0.1 spec/factories/page_factory.rb
sunrise-cms-1.0.0 spec/factories/page_factory.rb
sunrise-cms-1.0.0.rc3 spec/factories/page_factory.rb
sunrise-cms-1.0.0.rc2 spec/factories/page_factory.rb
sunrise-cms-1.0.0.rc1 spec/factories/page_factory.rb
sunrise-cms-0.7.0.rc2 spec/factories/page_factory.rb
sunrise-cms-0.7.0.rc1 spec/factories/page_factory.rb
sunrise-cms-0.6.11 spec/factories/page_factory.rb
sunrise-cms-0.6.10 spec/factories/page_factory.rb
sunrise-cms-0.6.9 spec/factories/page_factory.rb
sunrise-cms-0.6.8 spec/factories/page_factory.rb
sunrise-cms-0.6.7 spec/factories/page_factory.rb
sunrise-cms-0.6.6 spec/factories/page_factory.rb
sunrise-cms-0.6.5 spec/factories/page_factory.rb
sunrise-cms-0.6.4 spec/factories/page_factory.rb