Updates test for verification

This commit is contained in:
Alberto Garcia Cabeza
2015-10-02 17:13:34 +02:00
parent ebcb1009ae
commit 818887924a
7 changed files with 16 additions and 54 deletions

View File

@@ -14,7 +14,7 @@ feature 'Level two verification' do
fill_in 'sms_phone', with: "611111111"
click_button 'Send'
expect(page).to have_content 'Security code confirmation'
expect(page).to have_content 'Phone confirmation'
user = user.reload
fill_in 'sms_confirmation_code', with: user.sms_confirmation_code