Update UserEmails acceptance tests to use the new POST-based email deletion endpoint.

This commit is contained in:
Paulo Reis 2018-07-02 12:31:36 +01:00
parent 04a98c4d91
commit 80b7641652

View file

@ -100,8 +100,8 @@ describe "UserEmails", ->
(cb) =>
# Delete the email from the first user
@user.request {
method: 'DELETE',
url: '/user/emails',
method: 'POST',
url: '/user/emails/delete',
json: {@email}
}, cb
(cb) =>