Remove duplicate test
We already have a test in the `level_three_verification_spec` file that checks the exact same things and then the letter verification. And, for the SMS step, we also have a test in the `sms_spec` file.
This commit is contained in:
@@ -1,28 +1,6 @@
|
||||
require "rails_helper"
|
||||
|
||||
describe "Level two verification" do
|
||||
scenario "Verification with residency and sms" do
|
||||
create(:geozone)
|
||||
user = create(:user)
|
||||
login_as(user)
|
||||
|
||||
visit account_path
|
||||
click_link "Verify my account"
|
||||
|
||||
verify_residence
|
||||
|
||||
fill_in "sms_phone", with: "611111111"
|
||||
click_button "Send"
|
||||
|
||||
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 "Code correct"
|
||||
end
|
||||
|
||||
context "In Spanish, with no fallbacks" do
|
||||
before { allow(I18n.fallbacks).to receive(:[]).and_return([:es]) }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user