Sha256: 3c84704a79ff772c49038bbb5c4ec1fafdf5ae71dcb74642c609541b5a7eac3b

Contents?: true

Size: 235 Bytes

Versions: 2

Compression:

Stored size: 235 Bytes

Contents

FactoryGirl.define do

  factory :company, :class => Chouette::Company do
    sequence(:name) { |n| "Company #{n}" }
    sequence(:objectid) { |n| "test:Company:#{n}" }
    sequence(:registration_number) { |n| "test-#{n}" }
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ninoxe-1.2.3 spec/factories/chouette_companies.rb
ninoxe-1.2.0 spec/factories/chouette_companies.rb