Sha256: f982468fef4fea58605a8f3c67c780772246fdaad1d8de53975db14493343a5b

Contents?: true

Size: 162 Bytes

Versions: 4

Compression:

Stored size: 162 Bytes

Contents

# frozen_string_literal: true

FactoryBot.define do
  factory :post do
    title 'Test Title'
    user { User.order('RANDOM()').first }
    active true
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
paid_up-0.13.5 spec/factories/post.rb
paid_up-0.13.4 spec/factories/post.rb
paid_up-0.13.3 spec/factories/post.rb
paid_up-0.13.2 spec/factories/post.rb