FactoryGirl.define do
  factory :office do
    address_line_one { Faker::Address.street_address }
    address_line_two { Faker::Address.secondary_address }
    address_town { Faker::Address.city }
    address_county { Faker::Address.state }
    address_postcode 'EC1N 2TD'
    email_address { Faker::Internet.email }
    telephone_number { Faker::Base.numerify('##### ### ###') }
  end
end

FactoryGirl.define do
  factory :office do
    address_line_one { Faker::Address.street_address }
    address_line_two { Faker::Address.secondary_address }
    address_town { Faker::Address.city }
    address_county { Faker::Address.state }
    address_postcode 'EC1N 2TD'
    email_address { Faker::Internet.email }
    telephone_number { Faker::Base.numerify('##### ### ###') }
    disabled_access { [true, false].sample }
  end
end

Add disabled_access field to the Office factory
Add disabled_access field to the Office factory
