Updates tests with new texts
This commit is contained in:
@@ -14,13 +14,13 @@ feature 'Level two verification' do
|
||||
fill_in 'sms_phone', with: "611111111"
|
||||
click_button 'Send'
|
||||
|
||||
expect(page).to have_content 'Phone confirmation'
|
||||
expect(page).to have_content 'Security code confirmation'
|
||||
|
||||
user = user.reload
|
||||
fill_in 'sms_confirmation_code', with: user.sms_confirmation_code
|
||||
click_button 'Send'
|
||||
|
||||
expect(page).to have_content 'Correct code'
|
||||
expect(page).to have_content 'Code correct'
|
||||
end
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user