Sha256: dacae3c4fae1b4b8f52cb9c4313f553752f3e13a861e18d9727fcaf9c3db4f32

Contents?: true

Size: 426 Bytes

Versions: 7

Compression:

Stored size: 426 Bytes

Contents

require 'faker'

FactoryGirl.define do
    factory :tenant, class: Hippo::Tenant do
        slug         { Faker::Internet.domain_word }
        name         { Faker::Company.name }
        email        { Faker::Internet.email }
        address      {
            "#{Faker::Address.street_address} #{Faker::Address.city} #{Faker::Address.state}"
        }
        phone_number { Faker::PhoneNumber.phone_number }
     end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hippo-fw-0.9.8 spec/factories/tenant.rb
hippo-fw-0.9.7 spec/factories/tenant.rb
hippo-fw-0.9.6 spec/factories/tenant.rb
hippo-fw-0.9.5 spec/factories/tenant.rb
hippo-fw-0.9.4 spec/factories/tenant.rb
hippo-fw-0.9.3 spec/factories/tenant.rb
hippo-fw-0.9.2 spec/factories/tenant.rb