Sha256: d0ae37d1c9046734e38f6904a6854d7a87cc8dd6ce4953a503a477c69e574271

Contents?: true

Size: 153 Bytes

Versions: 26

Compression:

Stored size: 153 Bytes

Contents

FactoryGirl.define do
  factory :post do
    title "This is a post"
    body "It has a lot of content"
    association :author, factory: :user
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
sapience-0.2.10 test_apps/rails/spec/factories/posts.rb
sapience-0.2.9 test_apps/rails/spec/factories/posts.rb
sapience-0.2.8 test_apps/rails/spec/factories/posts.rb
sapience-0.2.7 test_app/spec/factories/posts.rb
sapience-0.2.6 test_app/spec/factories/posts.rb
sapience-0.2.5 test_app/spec/factories/posts.rb