From d8d07a90959436c113626bef87dacc67c84f2b50 Mon Sep 17 00:00:00 2001 From: JG Date: Wed, 15 Jun 2022 17:21:49 +0100 Subject: [PATCH] fixed failing tests --- spec/requests/schemes_controller_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/requests/schemes_controller_spec.rb b/spec/requests/schemes_controller_spec.rb index d41ab9687..a7d907573 100644 --- a/spec/requests/schemes_controller_spec.rb +++ b/spec/requests/schemes_controller_spec.rb @@ -301,7 +301,7 @@ RSpec.describe SchemesController, type: :request do expect(page).to have_content(location.county) 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_display) + expect(page).to have_content(location.wheelchair_adaptation) expect(page).to have_content(location.address_line1) expect(page).to have_content(location.address_line2) end @@ -380,7 +380,7 @@ RSpec.describe SchemesController, type: :request do expect(page).to have_content(location.county) 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_display) + expect(page).to have_content(location.wheelchair_adaptation) expect(page).to have_content(location.address_line1) expect(page).to have_content(location.address_line2) end