From 15cf8456404bf55fe4a45f89ac28e74ac25d8ff9 Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Wed, 15 Sep 2021 09:50:37 +0100 Subject: [PATCH] Field labels --- spec/features/case_log_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/features/case_log_spec.rb b/spec/features/case_log_spec.rb index 1aeb1cbb2..6aafbd976 100644 --- a/spec/features/case_log_spec.rb +++ b/spec/features/case_log_spec.rb @@ -19,10 +19,10 @@ RSpec.describe "Test Features" do it "displays the household questions when you click into that section" do visit("/case_logs/#{id}") click_link("Household characteristics") - expect(page).to have_field("case-log-tenant-code-field") + expect(page).to have_field("tenant-code-field") click_button("Save and continue") - expect(page).to have_field("case-log-tenant-age-field") + expect(page).to have_field("tenant-age-field") click_button("Save and continue") - expect(page).to have_field("case-log-tenant-gender-0-field") + expect(page).to have_field("tenant-gender-0-field") end end