Sha256: c353b2cffb81fc4ae87136152825b0c14c1c61cfbd0fb4f2158ea09f11c3b1dd
Contents?: true
Size: 208 Bytes
Versions: 2
Compression:
Stored size: 208 Bytes
Contents
FactoryBot.define do factory :post, class: Exposition::Post do sequence(:title) { |n| "Title#{n}" } body { "my post" } summary { "my summary" } association :author, factory: :user end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
exposition-0.0.5.7.pre.alpha | spec/factories/posts.rb |
exposition-0.0.5.6.pre.alpha | spec/factories/posts.rb |