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