Browse Source

Field labels

pull/21/head
baarkerlounger 3 years ago
parent
commit
15cf845640
  1. 6
      spec/features/case_log_spec.rb

6
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

Loading…
Cancel
Save