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:
Javi Martín
2025-03-27 16:41:45 +01:00
parent 2ada826f12
commit e29ad8b505

View File

@@ -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]) }