cleans up
This commit is contained in:
@@ -67,7 +67,6 @@ en:
|
|||||||
offices: "See Office of Citizen"
|
offices: "See Office of Citizen"
|
||||||
offices_url: "http://www.madrid.es/portales/munimadrid/es/Inicio/El-Ayuntamiento/Atencion-al-ciudadano/Oficinas-de-Atencion-al-Ciudadano?vgnextfmt=default&vgnextchannel=5b99cde2e09a4310VgnVCM1000000b205a0aRCRD"
|
offices_url: "http://www.madrid.es/portales/munimadrid/es/Inicio/El-Ayuntamiento/Atencion-al-ciudadano/Oficinas-de-Atencion-al-Ciudadano?vgnextfmt=default&vgnextchannel=5b99cde2e09a4310VgnVCM1000000b205a0aRCRD"
|
||||||
send_letter: "Send me a letter with the code"
|
send_letter: "Send me a letter with the code"
|
||||||
introduce_code: "Enter the security code"
|
|
||||||
send_code: "Send"
|
send_code: "Send"
|
||||||
create:
|
create:
|
||||||
flash:
|
flash:
|
||||||
@@ -76,7 +75,7 @@ en:
|
|||||||
failure: "We could not verify your address with the Census please try again later"
|
failure: "We could not verify your address with the Census please try again later"
|
||||||
edit:
|
edit:
|
||||||
title: "Security code confirmation"
|
title: "Security code confirmation"
|
||||||
confirmation_code: "Code confirmation in your letter"
|
confirmation_code: "Enter the security code in your letter"
|
||||||
update:
|
update:
|
||||||
error: "Incorrect confirmation code"
|
error: "Incorrect confirmation code"
|
||||||
flash:
|
flash:
|
||||||
|
|||||||
@@ -67,7 +67,6 @@ es:
|
|||||||
offices: "Ver Oficinas de Atención al Ciudadano"
|
offices: "Ver Oficinas de Atención al Ciudadano"
|
||||||
offices_url: "http://www.madrid.es/portales/munimadrid/es/Inicio/El-Ayuntamiento/Atencion-al-ciudadano/Oficinas-de-Atencion-al-Ciudadano?vgnextfmt=default&vgnextchannel=5b99cde2e09a4310VgnVCM1000000b205a0aRCRD"
|
offices_url: "http://www.madrid.es/portales/munimadrid/es/Inicio/El-Ayuntamiento/Atencion-al-ciudadano/Oficinas-de-Atencion-al-Ciudadano?vgnextfmt=default&vgnextchannel=5b99cde2e09a4310VgnVCM1000000b205a0aRCRD"
|
||||||
send_letter: "Enviarme una carta con el código"
|
send_letter: "Enviarme una carta con el código"
|
||||||
introduce_code: "Introduce el código de seguridad"
|
|
||||||
send_code: "Enviar"
|
send_code: "Enviar"
|
||||||
create:
|
create:
|
||||||
flash:
|
flash:
|
||||||
|
|||||||
@@ -35,7 +35,6 @@ feature 'Verify Letter' do
|
|||||||
visit new_letter_path
|
visit new_letter_path
|
||||||
|
|
||||||
click_button "Send me a letter with the code"
|
click_button "Send me a letter with the code"
|
||||||
|
|
||||||
expect(page).to have_content "Thank you for requesting a maximum security code in a few days we will send it to the address on your census data."
|
expect(page).to have_content "Thank you for requesting a maximum security code in a few days we will send it to the address on your census data."
|
||||||
|
|
||||||
fill_in "letter_verification_code", with: "1"
|
fill_in "letter_verification_code", with: "1"
|
||||||
|
|||||||
@@ -26,8 +26,6 @@ feature 'Level three verification' do
|
|||||||
fill_in 'sms_confirmation_code', with: user.sms_confirmation_code
|
fill_in 'sms_confirmation_code', with: user.sms_confirmation_code
|
||||||
click_button 'Send'
|
click_button 'Send'
|
||||||
|
|
||||||
expect(page).to have_content 'Correct code'
|
|
||||||
|
|
||||||
expect(page).to have_content "Correct code. Your account is verified"
|
expect(page).to have_content "Correct code. Your account is verified"
|
||||||
|
|
||||||
expect(page).to_not have_link "Verify my account"
|
expect(page).to_not have_link "Verify my account"
|
||||||
|
|||||||
Reference in New Issue
Block a user