fixes an issue where users which requested a letter did not get the verification code set up

This commit is contained in:
kikito
2015-10-21 12:08:56 +02:00
parent 3897af6b71
commit f08cf591b6
2 changed files with 10 additions and 4 deletions

View File

@@ -12,6 +12,11 @@ feature 'Verify Letter' do
click_link "Request a letter"
expect(page).to have_content "Before voting you'll receive a letter whith the instructions for verify your account."
user.reload
expect(user.letter_requested_at).to be
expect(user.letter_verification_code).to be
end
scenario 'Go to office instead of send letter' do