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:
kikito
2016-01-22 10:56:30 +01:00
parent 68e1ee2bc2
commit 248bff712c
7 changed files with 29 additions and 36 deletions

View File

@@ -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"