refactors specs
This commit is contained in:
@@ -9,14 +9,7 @@ feature 'Level two verification' do
|
||||
visit account_path
|
||||
click_link 'Verify my account'
|
||||
|
||||
select 'Spanish ID', from: 'residence_document_type'
|
||||
fill_in 'residence_document_number', with: "12345678Z"
|
||||
select_date '31-December-1980', from: 'residence_date_of_birth'
|
||||
fill_in 'residence_postal_code', with: '28013'
|
||||
|
||||
click_button 'Verify'
|
||||
|
||||
expect(page).to have_content 'Residence verified'
|
||||
verify_residence
|
||||
|
||||
fill_in 'sms_phone', with: "611111111"
|
||||
click_button 'Send'
|
||||
|
||||
Reference in New Issue
Block a user