diff options
author | Denis Costa <deniscostadsc@gmail.com> | 2017-04-13 16:39:30 -0300 |
---|---|---|
committer | Tulio Casagrande <tcasagra@thoughtworks.com> | 2017-04-13 17:32:13 -0300 |
commit | dd189164ef0b39132daafcbe5d163bc259ccec8e (patch) | |
tree | 57776da477e91f938ac5fa7b132e94df6ae0b3fb /service/test/functional/features | |
parent | 1fcb0c8fb399647bf86ef1b7c6771b3a29f67aa9 (diff) |
[#927] Add recovery code mail template
with @tuliocasagrande
Diffstat (limited to 'service/test/functional/features')
-rw-r--r-- | service/test/functional/features/steps/mail_list.py | 6 | ||||
-rw-r--r-- | service/test/functional/features/steps/mail_view.py | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/service/test/functional/features/steps/mail_list.py b/service/test/functional/features/steps/mail_list.py index 2953c1af..21694153 100644 --- a/service/test/functional/features/steps/mail_list.py +++ b/service/test/functional/features/steps/mail_list.py @@ -138,9 +138,3 @@ def impl(context): @then('I should not see any email') def impl(context): _wait_for_mail_list_to_be_empty(context) - - -@then(u'I see the mail has the recovery code') -def step_impl(context): - expected_body = 'Your code' - context.execute_steps(u"Then I see that the body has '%s'" % expected_body) diff --git a/service/test/functional/features/steps/mail_view.py b/service/test/functional/features/steps/mail_view.py index d10f86e7..9b49e6e5 100644 --- a/service/test/functional/features/steps/mail_view.py +++ b/service/test/functional/features/steps/mail_view.py @@ -109,3 +109,9 @@ def impl(context): assert cc is not None assert bcc is not None + + +@then(u'I see the mail has the recovery code') +def step_impl(context): + expected_body = 'This code is they only way to recover access to your account in case you lose your password.' + context.execute_steps(u"Then I see that the body has '%s'" % expected_body) |