Sha256: ebe5032dc9554679e1af3be221dfa8c07b3e0d3f03c0c5711f0108fb24966015

Contents?: true

Size: 207 Bytes

Versions: 16

Compression:

Stored size: 207 Bytes

Contents

FactoryGirl.define do
  factory :state, class:Hash do
    id                  { Faker::Number.number(1).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/state.rb
enrichment_db-0.1.14 test/factories/state.rb
enrichment_db-0.1.13 test/factories/state.rb
enrichment_db-0.1.12 test/factories/state.rb
enrichment_db-0.1.11 test/factories/state.rb
enrichment_db-0.1.10 test/factories/state.rb
enrichment_db-0.1.9 test/factories/state.rb
enrichment_db-0.1.8 test/factories/state.rb
enrichment_db-0.1.7 test/factories/state.rb
enrichment_db-0.1.6 test/factories/state.rb
enrichment_db-0.1.5 test/factories/state.rb
enrichment_db-0.1.4 test/factories/state.rb
enrichment_db-0.1.3 test/factories/state.rb
enrichment_db-0.1.2 test/factories/state.rb
enrichment_db-0.1.1 test/factories/state.rb
enrichment_db-0.1.0 test/factories/state.rb