Fixes failing specs after adding geozones to residence verifications
This commit is contained in:
@@ -2,6 +2,8 @@ require 'rails_helper'
|
||||
|
||||
feature 'Residence' do
|
||||
|
||||
background { create(:geozone) }
|
||||
|
||||
scenario 'Verify resident in Madrid' do
|
||||
user = create(:user)
|
||||
login_as(user)
|
||||
@@ -100,4 +102,4 @@ feature 'Residence' do
|
||||
expect(page).to have_content "You have reached the maximum number of attempts. Please try again later."
|
||||
expect(current_path).to eq(account_path)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user