Skip to content

Commit

Permalink
Merge pull request #3428 from DFE-Digital/ey-answer-fix
Browse files Browse the repository at this point in the history
[CAPT-2027] Fix EY practitioner answer
  • Loading branch information
asmega authored Nov 25, 2024
2 parents f15657d + 7364b0a commit 1154a0a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def payment_answers
a << ["Name on the account", answers.banking_name, "personal-bank-account"]
a << ["Sort code", answers.bank_sort_code, "personal-bank-account"]
a << ["Account number", answers.bank_account_number, "personal-bank-account"]
a << ["Payroll gender", answers.payroll_gender, "gender"]
a << ["Payroll gender", t("answers.payroll_gender.#{answers.payroll_gender}"), "gender"]
end
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
banking_name: "Mr John Doe",
bank_account_number: "12345678",
bank_sort_code: "123456",
payroll_gender: "male"
payroll_gender: "dont_know"
)
}

Expand Down Expand Up @@ -69,7 +69,7 @@
end

context "Payroll gender" do
it { is_expected.to include(["Payroll gender", "male", "gender"]) }
it { is_expected.to include(["Payroll gender", "Don’t know", "gender"]) }
end
end
end

0 comments on commit 1154a0a

Please sign in to comment.