Sha256: 67b52dc6be068057ce10843f0d45b5332f5a55f9ae76719d5f20d51c675f68ad

Contents?: true

Size: 316 Bytes

Versions: 3

Compression:

Stored size: 316 Bytes

Contents

# frozen_string_literal: true

require 'factory_girl_rails'

FactoryGirl.define do
  factory :entity do
    sequence(:name)   { |n| "name_#{n}" }
    sequence(:status) { |n| "status_#{n}" }
  end

  factory :platform do
    sequence(:name)   { |n| "name_#{n}" }
    sequence(:status) { |n| "status_#{n}" }
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
demingfactor-paper_trail_manager-0.7.3 spec/support/factories.rb
paper_trail_manager_rails_5-0.7.2 spec/support/factories.rb
paper_trail_manager_rails_5-0.7.1 spec/support/factories.rb