Sha256: 543e660a2bd301733a6996d2e7617d78dfa95edfda525fd37e697fd9cc7a4614
Contents?: true
Size: 324 Bytes
Versions: 31
Compression:
Stored size: 324 Bytes
Contents
FactoryGirl.define do factory :post_type, class: Pulitzer::PostType do sequence(:name) { "Winterfell news #{1}" } plural { false } kind { Pulitzer::PostType.kinds[:template]} after(:create) do |post_type| post_type.post_type_versions.create status: 'published' end end end
Version data entries
31 entries across 31 versions & 1 rubygems