Skip to content

Commit

Permalink
Merge pull request #368 from GSA/wwang/issue364
Browse files Browse the repository at this point in the history
quiz update, remove lower case of topic per issue 364
  • Loading branch information
weiwang-gsa authored Sep 25, 2023
2 parents 488261b + 27bbf1a commit efb1b25
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion training-front-end/src/components/QuizMain.vue
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
class="usa-checkbox__label"
for="acknowledge"
>
ACKNOWLEDGMENT STATEMENT<br>“I acknowledge that I’ve read and understand the policies and regulations that govern the use of the GSA SmartPay® {{ topic.toLowerCase() }} card/account, as well as understand my role and responsibilities as {{ user_string_lookup[audience] }} as outlined in this training course.”
ACKNOWLEDGMENT STATEMENT<br>“I acknowledge that I’ve read and understand the policies and regulations that govern the use of the GSA SmartPay® {{ topic }} card/account, as well as understand my role and responsibilities as {{ user_string_lookup[audience] }} as outlined in this training course.”
</label>
</div>
<div class="grid-row">
Expand Down
6 changes: 3 additions & 3 deletions training-front-end/src/components/__tests__/QuizMain.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ describe('Quiz', () => {
button.trigger('click')
await flushPromises()
}
expect(wrapper.text()).toContain('GSA SmartPay® travel card/account')
expect(wrapper.text()).toContain('GSA SmartPay® Travel card/account')
})

it('should display acknowledgement box with langauge specific to Purchase card type', async () => {
Expand All @@ -136,7 +136,7 @@ describe('Quiz', () => {
button.trigger('click')
await flushPromises()
}
expect(wrapper.text()).toContain('GSA SmartPay® purchase card/account')
expect(wrapper.text()).toContain('GSA SmartPay® Purchase card/account')
})

it('should display acknowledgement box with langauge specific to Fleet card type', async () => {
Expand All @@ -149,7 +149,7 @@ describe('Quiz', () => {
button.trigger('click')
await flushPromises()
}
expect(wrapper.text()).toContain('GSA SmartPay® fleet card/account')
expect(wrapper.text()).toContain('GSA SmartPay® Fleet card/account')
})

it('should emit answers after quiz is submitted', async () => {
Expand Down

0 comments on commit efb1b25

Please sign in to comment.