Browse Source

Lint

pull/2444/head
Rachael Booth 2 years ago
parent
commit
75f07a2f14
  1. 1
      spec/request_helper.rb
  2. 4
      spec/services/csv/lettings_log_csv_service_spec.rb

1
spec/request_helper.rb

@ -90,7 +90,6 @@ module RequestHelper
address = request.uri.query_values["query"].split(",")
{ status: 200, body: { results: [{ DPA: { MATCH: 0.9, BUILDING_NAME: "result #{address[0]}", POST_TOWN: "result town or city", POSTCODE: address[1], UPRN: "1" } }] }.to_json, headers: {} }
end
end
def self.real_http_requests

4
spec/services/csv/lettings_log_csv_service_spec.rb

@ -303,7 +303,7 @@ RSpec.describe Csv::LettingsLogCsvService do
hbrentshortfall: 1,
tshortfall_known: 1,
tshortfall: 12,
)
)
end
context "when exporting with human readable labels" do
@ -491,7 +491,7 @@ RSpec.describe Csv::LettingsLogCsvService do
hbrentshortfall: 1,
tshortfall_known: 1,
tshortfall: 12,
)
)
end
context "when exporting with human readable labels" do

Loading…
Cancel
Save