Sha256: c9f22d3bf4dd91077981b70b5db5e30cdfe42f969154ab999779067ebf8a22e5

Contents?: true

Size: 208 Bytes

Versions: 16

Compression:

Stored size: 208 Bytes

Contents

FactoryGirl.define do
  factory :suburb, class:Hash do
    id                  { Faker::Number.number(5).to_i }
    name                { Faker::Address.city }

    initialize_with   { attributes }
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
enrichment_db-0.1.15 test/factories/suburb.rb
enrichment_db-0.1.14 test/factories/suburb.rb
enrichment_db-0.1.13 test/factories/suburb.rb
enrichment_db-0.1.12 test/factories/suburb.rb
enrichment_db-0.1.11 test/factories/suburb.rb
enrichment_db-0.1.10 test/factories/suburb.rb
enrichment_db-0.1.9 test/factories/suburb.rb
enrichment_db-0.1.8 test/factories/suburb.rb
enrichment_db-0.1.7 test/factories/suburb.rb
enrichment_db-0.1.6 test/factories/suburb.rb
enrichment_db-0.1.5 test/factories/suburb.rb
enrichment_db-0.1.4 test/factories/suburb.rb
enrichment_db-0.1.3 test/factories/suburb.rb
enrichment_db-0.1.2 test/factories/suburb.rb
enrichment_db-0.1.1 test/factories/suburb.rb
enrichment_db-0.1.0 test/factories/suburb.rb