Sha256: a2e5f882e9a36d6230a5fb625dad08891a3e38155cb46f54abebcefcb9af967d

Contents?: true

Size: 246 Bytes

Versions: 31

Compression:

Stored size: 246 Bytes

Contents

FactoryGirl.define do
  factory :partial_type, class: Pulitzer::PartialType do
    sequence(:label) { |n| "King's Landing news #{n}" }
    sequence(:sort_order)
    association :free_form_section_type
    association :post_type_version
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
pulitzer-0.15.31 spec/factories/partial_type.rb
pulitzer-0.15.30 spec/factories/partial_type.rb
pulitzer-0.15.29 spec/factories/partial_type.rb
pulitzer-0.15.28 spec/factories/partial_type.rb
pulitzer-0.15.27 spec/factories/partial_type.rb
pulitzer-0.15.26 spec/factories/partial_type.rb
pulitzer-0.15.25 spec/factories/partial_type.rb
pulitzer-0.15.24 spec/factories/partial_type.rb
pulitzer-0.15.23 spec/factories/partial_type.rb
pulitzer-0.15.22 spec/factories/partial_type.rb
pulitzer-0.15.21 spec/factories/partial_type.rb
pulitzer-0.15.20 spec/factories/partial_type.rb
pulitzer-0.15.19 spec/factories/partial_type.rb
pulitzer-0.15.18 spec/factories/partial_type.rb
pulitzer-0.15.17 spec/factories/partial_type.rb
pulitzer-0.15.16 spec/factories/partial_type.rb
pulitzer-0.15.15 spec/factories/partial_type.rb
pulitzer-0.15.14 spec/factories/partial_type.rb
pulitzer-0.15.13 spec/factories/partial_type.rb
pulitzer-0.15.12 spec/factories/partial_type.rb