Skip to content

Commit

Permalink
Fix specs to heed newly introduced validation of foreign zips (hitobi…
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-illi authored Jan 24, 2025
1 parent a448ae9 commit 7bd1734
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/features/self_registration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def complete_main_person_form
fill_in 'E-Mail', with: '[email protected]'
fill_in 'wizards_register_new_user_wizard_new_user_form_street', with: 'Musterplatz'
fill_in 'wizards_register_new_user_wizard_new_user_form_housenumber', with: '1'
fill_in 'wizards_register_new_user_wizard_new_user_form_zip_code', with: '8000'
fill_in 'wizards_register_new_user_wizard_new_user_form_zip_code', with: '63101'
fill_in 'wizards_register_new_user_wizard_new_user_form_town', with: 'Zürich'
fill_in 'Geburtsdatum', with: '01.01.1980'
country_selector = "#self_registration_main_person_attributes_country"
Expand Down Expand Up @@ -61,7 +61,7 @@ def complete_main_person_form
expect(person.first_name).to eq 'Max'
expect(person.last_name).to eq 'Muster'
expect(person.address).to eq 'Musterplatz 1'
expect(person.zip_code).to eq '8000'
expect(person.zip_code).to eq '63101'
expect(person.town).to eq 'Zürich'
expect(person.country).to eq 'US'
expect(person.birthday).to eq Date.new(1980, 1, 1)
Expand Down

0 comments on commit 7bd1734

Please sign in to comment.