From 7debd06044c27c3fa0b4013d943de47d6d199aaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Meny?= Date: Mon, 4 Jul 2022 15:44:59 +0100 Subject: [PATCH] Test fixes --- spec/requests/schemes_controller_spec.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spec/requests/schemes_controller_spec.rb b/spec/requests/schemes_controller_spec.rb index e4e43ca0e..4dc88fdcb 100644 --- a/spec/requests/schemes_controller_spec.rb +++ b/spec/requests/schemes_controller_spec.rb @@ -316,8 +316,7 @@ RSpec.describe SchemesController, type: :request do expect(page).to have_content(location.type_of_unit) expect(page).to have_content(location.type_of_building) expect(page).to have_content(location.wheelchair_adaptation) - expect(page).to have_content(location.address_line1) - expect(page).to have_content(location.address_line2) + expect(page).to have_content(location.name) end end