From b3a459985348da9b22c882878c009e8077531951 Mon Sep 17 00:00:00 2001 From: JG Date: Tue, 14 Jun 2022 12:43:22 +0100 Subject: [PATCH] failing test for having service and location tabs on the show page --- spec/features/schemes_spec.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/spec/features/schemes_spec.rb b/spec/features/schemes_spec.rb index f772a24c8..09b9927df 100644 --- a/spec/features/schemes_spec.rb +++ b/spec/features/schemes_spec.rb @@ -128,6 +128,11 @@ RSpec.describe "Supported housing scheme Features" do expect(page).to have_content(schemes.first.support_type_display) expect(page).to have_content(schemes.first.intended_stay_display) end + + it "shows service and locations tab" do + expect(page).to have_content("Service") + expect(page).to have_content("locations") + end end end end