Skip to content

Commit 18652fa

Browse files
committed
fix typo in expectation
1 parent 882c077 commit 18652fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/features/member_updating_details_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
click_on 'Save'
2626

2727
expect(page).to have_content('Your details have been updated.')
28-
expect(page).to have_selector(".badge", text: "Peanut allergye")
28+
expect(page).to have_selector(".badge", text: 'Peanut allergy')
2929
member.reload
3030
expect(member.dietary_restrictions).to eq(['other'])
3131
expect(member.other_dietary_restrictions).to eq('peanut allergy')

0 commit comments

Comments
 (0)