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