From c537849b3bf9e88da1bd7164c55a79defe45a4bf Mon Sep 17 00:00:00 2001 From: Sam Seed Date: Fri, 11 Nov 2022 19:24:14 +0000 Subject: [PATCH] test: update locations list test in schemes feature tests --- spec/features/schemes_spec.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/spec/features/schemes_spec.rb b/spec/features/schemes_spec.rb index 797b718af..336ee8338 100644 --- a/spec/features/schemes_spec.rb +++ b/spec/features/schemes_spec.rb @@ -204,9 +204,8 @@ RSpec.describe "Schemes scheme Features" do locations.each do |location| expect(page).to have_content(location.id) expect(page).to have_content(location.postcode) - expect(page).to have_content(location.units) - expect(page).to have_content(location.type_of_unit) - expect(page).to have_content(location.startdate&.to_formatted_s(:govuk_date)) + expect(page).to have_content(location.name) + expect(page).to have_content("Active") end end end