fixes failing i18n specs
Eliminates registering_with_oauth attr_accessor ELIMINATE Conflicts: app/views/users/registrations/finish_signup.html.erb improves devise confirmation message improves devise omniauth confirmation message improves devise omniauth confirmation message do not use nils on finish_signup fields Fixes auth specs after changing the i18n
This commit is contained in:
@@ -101,6 +101,8 @@ feature 'Users' do
|
||||
fill_in 'user_email', with: 'manueladelascarmenas@example.com'
|
||||
click_button 'Register'
|
||||
|
||||
expect(page).to have_content "To continue, please click on the confirmation link that we have sent you via email"
|
||||
|
||||
confirm_email
|
||||
|
||||
expect(page).to have_content "Your email address has been successfully confirmed"
|
||||
@@ -173,7 +175,7 @@ feature 'Users' do
|
||||
fill_in 'user_email', with: 'somethingelse@example.com'
|
||||
click_button 'Register'
|
||||
|
||||
expect(page).to have_content "You must confirm your account to continue"
|
||||
expect(page).to have_content "To continue, please click on the confirmation link that we have sent you via email"
|
||||
|
||||
confirm_email
|
||||
expect(page).to have_content "Your account has been confirmed"
|
||||
|
||||
Reference in New Issue
Block a user