Sha256: f785b3367d63d31efea9484816a687d25e24ebdbef5416ae8f35b4862432841b

Contents?: true

Size: 580 Bytes

Versions: 9

Compression:

Stored size: 580 Bytes

Contents

FactoryGirl.define do
  factory :agency, class: 'Logistics::Core::Agency' do
    code { FFaker::Name.name }
    name { FFaker::Name.name }
    telephone { FFaker::PhoneNumberBR.home_work_phone_number }
    contact_person { FFaker::Name.name }
    city { FFaker::Name.name }
    subcity { FFaker::Name.name }
    woreda 1
    house_no { FFaker::Name.name }
    email { FFaker::Name.name }
    postal_code { FFaker::Name.name }
    contact_telephone { FFaker::PhoneNumberBR.home_work_phone_number }
    contact_email { FFaker::Name.name }
    association :agency_category
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
logistics_core-21.11.2 spec/factories/agencies.rb
logistics_core-21.11.1 spec/factories/agencies.rb
logistics_core-21.08.1 spec/factories/agencies.rb
logistics_core-21.03.1 spec/factories/agencies.rb
logistics_core-20.10.3 spec/factories/agencies.rb
logistics_core-20.10.2 spec/factories/agencies.rb
logistics_core-20.10.1 spec/factories/agencies.rb
logistics_core-20.9.1 spec/factories/agencies.rb
logistics_core-20.8.1 spec/factories/agencies.rb