Sha256: 6988f9e29a4c0b1e3e714c9f7a16a868f61fd271a7063b54a002ddb9065674b0

Contents?: true

Size: 194 Bytes

Versions: 13

Compression:

Stored size: 194 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
g5_authenticatable-1.1.4 spec/factories/post.rb
g5_authenticatable-1.1.4.rc.3 spec/factories/post.rb
g5_authenticatable-1.1.4.rc.2 spec/factories/post.rb
g5_authenticatable-1.1.4.rc.1 spec/factories/post.rb
g5_authenticatable-1.1.2 spec/factories/post.rb
g5_authenticatable-1.1.2.pre.1 spec/factories/post.rb
g5_authenticatable-1.1.2.rc.5 spec/factories/post.rb
g5_authenticatable-1.1.2.rc.4 spec/factories/post.rb
g5_authenticatable-1.1.2.rc.3 spec/factories/post.rb
g5_authenticatable-1.1.2.rc.2 spec/factories/post.rb
g5_authenticatable-1.1.2.rc.1 spec/factories/post.rb
g5_authenticatable-1.1.1 spec/factories/post.rb
g5_authenticatable-1.1.0 spec/factories/post.rb