Sha256: e45921619944c8d8bd4d370f3127d71ce24624b478f8418b25ae96e5ff049046

Contents?: true

Size: 116 Bytes

Versions: 5

Compression:

Stored size: 116 Bytes

Contents

FactoryGirl.define do
  factory :post do
    author { create(:user) }
    body { Faker::Lorem.paragraph }
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
notify_on-1.0.5 spec/dummy/spec/factories/posts.rb
notify_on-1.0.4 spec/dummy/spec/factories/posts.rb
notify_on-1.0.3 spec/dummy/spec/factories/posts.rb
notify_on-1.0.2 spec/dummy/spec/factories/posts.rb
notify_on-1.0.1 spec/dummy/spec/factories/posts.rb