Sha256: d3ba0a164ced1d5ce84f4157954b2b768158d23b4e2bdcef2953cdd79fcd80c7

Contents?: true

Size: 314 Bytes

Versions: 8

Compression:

Stored size: 314 Bytes

Contents

require 'hashie'
require 'faker'

FactoryGirl.define do

  factory :data_com_company_contact_count_department, class: Hashie::Mash do
    count { Faker::Number.number(2).to_i }
    name  { Faker::Lorem.word            }
    url   { Faker::Internet.url          }

    initialize_with { new(attributes) }
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
data-com-api-0.2.1 spec/factories/data-com/company_contact_count/department_factory.rb
data-com-api-0.2.0 spec/factories/data-com/company_contact_count/department_factory.rb
data-com-api-0.1.5 spec/factories/data-com/company_contact_count/department_factory.rb
data-com-api-0.1.4 spec/factories/data-com/company_contact_count/department_factory.rb
data-com-api-0.1.3 spec/factories/data-com/company_contact_count/department_factory.rb
data-com-api-0.1.2 spec/factories/data-com/company_contact_count/department_factory.rb
data-com-api-0.1.1 spec/factories/data-com/company_contact_count/department_factory.rb
data-com-api-0.1.0 spec/factories/data-com/company_contact_count/department_factory.rb