FactoryBot.define do

  factory :organization do
    customer_id { 1 }
    address1 { '100 Main St' }
    city { 'Harrisburg' }
    state { 'PA' }
    zip { '17120' }
    url { 'http://www.example.com' }
    phone { '9999999999' }
    organization_type_id { 2 }
    sequence(:name) { |n| "Org #{n}" }
    short_name {name}
    legal_name {name}
    license_holder { true }
  end

end

FactoryBot.define do

  factory :organization do
    customer_id { 1 }
    address1 { '100 Main St' }
    city { 'Harrisburg' }
    state { 'PA' }
    zip { '17120' }
    url { 'http://www.example.com' }
    phone { '9999999999' }
    organization_type_id { 2 }
    sequence(:name) { |n| "Org #{n}" }
    short_name {name}
    license_holder { true }
  end

end

Move legal name validation to TransitAgency and update spatial factory.
Move legal name validation to TransitAgency and update spatial factory.
