mozilla/fxa-content-server — pull request #1051 by shane-tomlinson (2014-05-02 15:40:56+00:00)
Title: refactor(test): Use a single function to create email addresses.

* TestHelpers->createEmail will create a restmail address
* Update ad-hoc email address creations to use this
* Add TestHelpers->emailToUser to get the user from the email address.

fixes #1050

This is for you, @pdehaan!