Sha256: 0b69acd32a57f676c83ce5641d1acd7bebfb78ce3b201633ba1c080f20b3c1ae

Contents?: true

Size: 407 Bytes

Versions: 5

Compression:

Stored size: 407 Bytes

Contents

#encoding: utf-8
FactoryGirl.define do
  factory :neighborhood do
    name 'House in the hill'
    url_name 'house_in_the_hill'
    description "This is a house in the hill"
    amenities "gas: has it\ngos: has it too"
    images_attributes {
      {'0' =>
        {'file' =>
           Rack::Test::UploadedFile.new(Rails.root.join('spec/fixtures/image.jpg'), 'image/jpg')
        }
      }
    }
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
nubis_rails_boilerplate-0.0.11 skeletons/real_estate_app/spec/factories/neigborhoods.rb
nubis_rails_boilerplate-0.0.10 skeletons/real_estate_app/spec/factories/neigborhoods.rb
nubis_rails_boilerplate-0.0.9 skeletons/real_estate_app/spec/factories/neigborhoods.rb
nubis_rails_boilerplate-0.0.8 skeletons/real_estate_app/spec/factories/neigborhoods.rb
nubis_rails_boilerplate-0.0.7 skeletons/real_estate_app/spec/factories/neigborhoods.rb