|
|
|
@ -72,7 +72,6 @@ RSpec.describe Csv::SchemeCsvService do |
|
|
|
let(:download_type) { "locations" } |
|
|
|
let(:download_type) { "locations" } |
|
|
|
let(:location_attributes) { %w[scheme_code location_code location_postcode location_name location_status location_local_authority location_units location_type_of_unit location_mobility_type location_admin_district location_active_dates] } |
|
|
|
let(:location_attributes) { %w[scheme_code location_code location_postcode location_name location_status location_local_authority location_units location_type_of_unit location_mobility_type location_admin_district location_active_dates] } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
it "has the correct headers" do |
|
|
|
it "has the correct headers" do |
|
|
|
expect(headers).to eq(location_attributes) |
|
|
|
expect(headers).to eq(location_attributes) |
|
|
|
end |
|
|
|
end |
|
|
|
|