Sha256: aea179219a958e5c219d77d03cb06d439e7f142fbad0edd699fd1e46c3f9559c

Contents?: true

Size: 154 Bytes

Versions: 3

Compression:

Stored size: 154 Bytes

Contents

Factory.define :page, :class => Page do |p|
  p.title "Test title"
  p.content "Test content"
  p.association :structure, :factory => :structure_page
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sunrise-core-0.2.2 spec/factories/page_factory.rb
sunrise-core-0.2.1 spec/factories/page_factory.rb
sunrise-core-0.2.0 spec/factories/page_factory.rb