Sha256: 3719fba82b255bbbf59ec2bac9f5fd8b91ae24b2d2403c05d53acb975de5775a

Contents?: true

Size: 195 Bytes

Versions: 5

Compression:

Stored size: 195 Bytes

Contents

# frozen_string_literal: true

FactoryGirl.define do
  factory :post do
    sequence(:content) { |n| "This is my post #{n}" }
    association :author, factory: :g5_authenticatable_user
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
g5_authenticatable-1.0.0 spec/factories/post.rb
g5_authenticatable-1.0.0.pre.4 spec/factories/post.rb
g5_authenticatable-1.0.0.pre.3 spec/factories/post.rb
g5_authenticatable-1.0.0.pre.2 spec/factories/post.rb
g5_authenticatable-1.0.0.pre.1 spec/factories/post.rb