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.
16 lines
344 B
Ruby
16 lines
344 B
Ruby
require "rails_helper"
|
|
|
|
describe "Level two verification" do
|
|
context "In Spanish, with no fallbacks" do
|
|
before { allow(I18n.fallbacks).to receive(:[]).and_return([:es]) }
|
|
|
|
scenario "Works normally" do
|
|
user = create(:user)
|
|
login_as(user)
|
|
|
|
visit verification_path(locale: :es)
|
|
verify_residence
|
|
end
|
|
end
|
|
end
|