Fixes failing specs after adding geozones to residence verifications
This commit is contained in:
@@ -2,6 +2,7 @@ require 'rails_helper'
|
||||
|
||||
feature 'Level three verification' do
|
||||
scenario 'Verification with residency and verified sms' do
|
||||
create(:geozone)
|
||||
user = create(:user)
|
||||
|
||||
verified_user = create(:verified_user,
|
||||
@@ -33,6 +34,7 @@ feature 'Level three verification' do
|
||||
end
|
||||
|
||||
scenario 'Verification with residency and verified email' do
|
||||
create(:geozone)
|
||||
user = create(:user)
|
||||
|
||||
verified_user = create(:verified_user,
|
||||
@@ -63,7 +65,7 @@ feature 'Level three verification' do
|
||||
end
|
||||
|
||||
scenario 'Verification with residency and sms and letter' do
|
||||
|
||||
create(:geozone)
|
||||
user = create(:user)
|
||||
login_as(user)
|
||||
|
||||
@@ -87,4 +89,4 @@ feature 'Level three verification' do
|
||||
|
||||
expect(page).to have_content "Thank you for requesting your maximum security code (only required for the final votes). In a few days we will send it to the address featuring in the data we have on file."
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user