Sha256: a528bf63eea31fb4fc9f275a94be2ba8c16381cd873a077abfa7abe4f2b00a00

Contents?: true

Size: 286 Bytes

Versions: 4

Compression:

Stored size: 286 Bytes

Contents

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

4 entries across 4 versions & 1 rubygems

Version Path
paper_trail_manager-0.6.0 spec/support/factories.rb
paper_trail_manager-0.5.0 spec/support/factories.rb
paper_trail_manager-0.4.0 spec/support/factories.rb
paper_trail_manager-0.3.0 spec/support/factories.rb