Skip to content

Commit 0aae486

Browse files
committed
fix feature spec
1 parent 299bd00 commit 0aae486

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/features/state_file/complete_intake_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161
step_through_df_data_transfer("Transfer Old sample")
162162
click_on I18n.t("general.continue")
163163

164-
expect(page).to have_text I18n.t("state_file.questions.az_senior_dependents.edit.title")
164+
expect(page).to have_text I18n.t("state_file.questions.az_senior_dependents.edit.title", dependents_name_list: "Grampy")
165165
expect(page).to have_text I18n.t("state_file.questions.az_senior_dependents.edit.assistance_label", name: "Grampy")
166166
expect(page).to have_text I18n.t("state_file.questions.az_senior_dependents.edit.passed_away_label", name: "Grampy", filing_year: filing_year)
167167
choose "state_file_az_senior_dependents_form_dependents_attributes_0_needed_assistance_yes"
@@ -193,7 +193,7 @@
193193
expect(page).to have_text(I18n.t('state_file.questions.unemployment.index.1099_label', name: StateFileAzIntake.last.primary.full_name))
194194
click_on I18n.t("general.continue")
195195

196-
expect(page).to have_text I18n.t('state_file.questions.az_public_school_contributions.edit.title_html')
196+
expect(strip_html_tags(page.body)).to have_text strip_html_tags(I18n.t('state_file.questions.az_public_school_contributions.edit.title_html'))
197197
choose I18n.t("general.affirmative")
198198
fill_in "az322_contribution_school_name", with: "Tax Elementary"
199199
fill_in "az322_contribution_ctds_code", with: "123456789"

0 commit comments

Comments
 (0)