From 90053122cec72d88fc50419a3601c4603a7d6a60 Mon Sep 17 00:00:00 2001 From: JG Date: Tue, 14 Jun 2022 11:51:49 +0100 Subject: [PATCH] correct expectation --- spec/features/schemes_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/features/schemes_spec.rb b/spec/features/schemes_spec.rb index bd66ccf53..f772a24c8 100644 --- a/spec/features/schemes_spec.rb +++ b/spec/features/schemes_spec.rb @@ -119,7 +119,7 @@ RSpec.describe "Supported housing scheme Features" do it "shows me details about the selected scheme" do expect(page).to have_content(schemes.first.code) expect(page).to have_content(schemes.first.service_name) - expect(page).to have_content(schemes.first.sensitive) + expect(page).to have_content(schemes.first.sensitive_display) expect(page).to have_content(schemes.first.scheme_type_display) expect(page).to have_content(schemes.first.registered_under_care_act_display) expect(page).to have_content(schemes.first.total_units)