Sha256: c0943655ca7917d3da10d92e3225e0efe85a08645ce92c7548ae3aa6670cb057
Contents?: true
Size: 265 Bytes
Versions: 6
Compression:
Stored size: 265 Bytes
Contents
FactoryGirl.define do factory :page, class: Refinery::Page do sequence(:title, "a") { |n| "Test title #{n}" } factory :page_with_page_part do after(:create) do |page| page.parts << FactoryGirl.create(:page_part) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems