From 2e074c083a57b84278430ff1f4c303d294accb49 Mon Sep 17 00:00:00 2001 From: Kat Date: Mon, 18 Dec 2023 12:31:04 +0000 Subject: [PATCH] lint --- spec/models/location_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/models/location_spec.rb b/spec/models/location_spec.rb index 5cfbeddee..58a101496 100644 --- a/spec/models/location_spec.rb +++ b/spec/models/location_spec.rb @@ -36,7 +36,7 @@ RSpec.describe Location, type: :model do context "when local authority cannot be inferred" do before do - stub_request(:get, /api.postcodes.io\/postcodes\/CA101AA/) + stub_request(:get, /api\.postcodes\.io\/postcodes\/CA101AA/) .to_return(status: 200, body: '{"status":200}', headers: {}) end @@ -50,7 +50,7 @@ RSpec.describe Location, type: :model do context "when location_code is no in LocalAuthorities table" do before do - stub_request(:get, /api.postcodes.io\/postcodes\/CA101AA/) + stub_request(:get, /api\.postcodes\.io\/postcodes\/CA101AA/) .to_return(status: 200, body: '{"status":200,"result":{"admin_district":"Eden","codes":{"admin_district":"E01231231"}}}', headers: {}) end