From b5cbb58f7b6bb1f12d5c8293d0e5cfac519d34e3 Mon Sep 17 00:00:00 2001 From: JG Date: Mon, 4 Jul 2022 16:29:58 +0100 Subject: [PATCH] added test to amend a location - part 2 --- spec/features/schemes_spec.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/features/schemes_spec.rb b/spec/features/schemes_spec.rb index 41c06c3a6..1a627efd4 100644 --- a/spec/features/schemes_spec.rb +++ b/spec/features/schemes_spec.rb @@ -469,6 +469,8 @@ RSpec.describe "Schemes scheme Features" do end it "displays changed location" do + expect(page).to have_content "Locations" + expect(page).to have_content "#{scheme.locations.count} location" expect(page).to have_content "ZZ11ZZ" end end