Sha256: 3a7d376b6996aceb75b0979df8bf3c64150944c34958828c8aaf29d5eecde887

Contents?: true

Size: 170 Bytes

Versions: 13

Compression:

Stored size: 170 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

13 entries across 13 versions & 1 rubygems

Version Path
paid_up-0.13.22 spec/factories/post.rb
paid_up-0.13.21 spec/factories/post.rb
paid_up-0.13.17 spec/factories/post.rb
paid_up-0.13.16 spec/factories/post.rb
paid_up-0.13.14 spec/factories/post.rb
paid_up-0.13.13 spec/factories/post.rb
paid_up-0.13.12 spec/factories/post.rb
paid_up-0.13.11 spec/factories/post.rb
paid_up-0.13.10 spec/factories/post.rb
paid_up-0.13.9 spec/factories/post.rb
paid_up-0.13.8 spec/factories/post.rb
paid_up-0.13.7 spec/factories/post.rb
paid_up-0.13.6 spec/factories/post.rb