Sha256: ad970cc58459d091f6a626186c0dda1940dd4bb2ec582895e54c2a5d023b9fe1

Contents?: true

Size: 145 Bytes

Versions: 13

Compression:

Stored size: 145 Bytes

Contents

FactoryBot.define do
  factory :post do
    sequence(:title) { |n| "Post #{n}"}
    body { "The body of the post" }
    author_id { 1 }
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
historiographer-4.1.0 /Users/brettshollenberger/programming/historiographer/spec/factories/post.rb
historiographer-4.0.0 spec/factories/post.rb
historiographer-3.1.2 spec/factories/post.rb
historiographer-3.1.1 spec/factories/post.rb
historiographer-3.1.0 spec/factories/post.rb
historiographer-3.0.0 spec/factories/post.rb
historiographer-2.0.1 spec/factories/post.rb
historiographer-2.0.0 spec/factories/post.rb
historiographer-1.4.3 spec/factories/post.rb
historiographer-1.4.1 spec/factories/post.rb
historiographer-1.4.0 spec/factories/post.rb
historiographer-1.3.1 spec/factories/post.rb
historiographer-1.3.0 spec/factories/post.rb