mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-13 04:00:21 +00:00
Set public enterprise.email_address at registration
Sets the public email address to the given email address as well as the internal enterprise.email (notification email address). The field is not mandatory any more since enterprise.email is populated from the owner's email address if no value was given.
This commit is contained in:
@@ -38,7 +38,7 @@ feature "Registration", js: true do
|
||||
# Filling in Contact Details
|
||||
expect(page).to have_content 'Who is responsible for managing My Awesome Enterprise?'
|
||||
fill_in 'enterprise_contact', with: 'Saskia Munroe'
|
||||
page.should have_field 'enterprise_email', with: user.email
|
||||
page.should have_field 'enterprise_email_address', with: user.email
|
||||
fill_in 'enterprise_phone', with: '12 3456 7890'
|
||||
click_button 'Continue'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user