From eb0a6fc9fc6e8d268334d93d9d0c6786cac3772e Mon Sep 17 00:00:00 2001 From: Sam Seed Date: Wed, 16 Nov 2022 15:23:35 +0000 Subject: [PATCH] test: check for mobility_type and location_admin_district in locations_controller as support user --- spec/requests/locations_controller_spec.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/requests/locations_controller_spec.rb b/spec/requests/locations_controller_spec.rb index df9c497d0..b44360b9e 100644 --- a/spec/requests/locations_controller_spec.rb +++ b/spec/requests/locations_controller_spec.rb @@ -986,6 +986,8 @@ RSpec.describe LocationsController, type: :request do expect(page).to have_content(location.status) else expect(page).to have_content(location.type_of_unit) + expect(page).to have_content(location.mobility_type) + expect(page).to have_content(location.location_admin_district) expect(page).to have_content(location.startdate&.to_formatted_s(:govuk_date)) end end