Sha256: 41942d3d382c7a62a5d548a63e0053190d595194abe01344f4ff0662bb2abcbe

Contents?: true

Size: 280 Bytes

Versions: 9

Compression:

Stored size: 280 Bytes

Contents

require 'factory_girl'

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

9 entries across 6 versions & 1 rubygems

Version Path
paper_trail_manager-0.2.0 rails_test/common/spec/support/factories.rb
paper_trail_manager-0.2.0 rails_test/rails-3.2.8/spec/support/factories.rb
paper_trail_manager-0.2.0 rails_test/rails-3.1.8/spec/support/factories.rb
paper_trail_manager-0.2.0 rails_test/rails-3.0.17/spec/support/factories.rb
paper_trail_manager-0.1.6 spec/support/factories.rb
paper_trail_manager-0.1.4 spec/support/factories.rb
paper_trail_manager-0.1.3 spec/support/factories.rb
paper_trail_manager-0.1.2 spec/support/factories.rb
paper_trail_manager-0.1.1 spec/support/factories.rb