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-1.0.11 test_apps/rails/spec/factories/posts.rb
sapience-1.0.10 test_apps/rails/spec/factories/posts.rb
sapience-1.0.9 test_apps/rails/spec/factories/posts.rb
sapience-1.0.8 test_apps/rails/spec/factories/posts.rb
sapience-1.0.7 test_apps/rails/spec/factories/posts.rb
sapience-1.0.6 test_apps/rails/spec/factories/posts.rb
sapience-1.0.5 test_apps/rails/spec/factories/posts.rb
sapience-1.0.4 test_apps/rails/spec/factories/posts.rb
sapience-1.0.3 test_apps/rails/spec/factories/posts.rb
sapience-1.0.2 test_apps/rails/spec/factories/posts.rb
sapience-1.0.1 test_apps/rails/spec/factories/posts.rb
sapience-1.0.0 test_apps/rails/spec/factories/posts.rb
sapience-0.2.18 test_apps/rails/spec/factories/posts.rb
sapience-0.2.17 test_apps/rails/spec/factories/posts.rb
sapience-0.2.16 test_apps/rails/spec/factories/posts.rb
sapience-0.2.15 test_apps/rails/spec/factories/posts.rb
sapience-0.2.14 test_apps/rails/spec/factories/posts.rb
sapience-0.2.13 test_apps/rails/spec/factories/posts.rb
sapience-0.2.12 test_apps/rails/spec/factories/posts.rb
sapience-0.2.11 test_apps/rails/spec/factories/posts.rb