Sha256: 456a13b745b4ff44be27fc81f2fd99d79163cceee9ae4ad080be047dbdb79783

Contents?: true

Size: 297 Bytes

Versions: 8

Compression:

Stored size: 297 Bytes

Contents

Factory.define :school do |f|
  f.sequence(:name) { |n| "School #{n}" } #n will increment each time a school factory is created
  f.address_1 'School Address 1'
  f.address_2 'School Address 2'
  f.city 'School City'
  f.state 'VA'
  f.zipcode '12345'
  f.phone '9876543210'
  f.approved true
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
scidea-schools-1.1 spec/factories/schools.rb
scidea-schools-1.0.6 spec/factories/schools.rb
scidea-schools-1.0.5 spec/factories/schools.rb
scidea-schools-1.0.4 spec/factories/schools.rb
scidea-schools-1.0.3 spec/factories/schools.rb
scidea-schools-1.0.2 spec/factories/schools.rb
scidea-schools-1.0.1 spec/factories/schools.rb
scidea-schools-1.0.0 spec/factories/schools.rb