Created
April 17, 2015 18:15
-
-
Save peterzawistowicz/39a9596ed190bf1c925a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
frisby.create('POST invalid email address') | |
.post(tc.url + '/user/enroll', | |
{ 'firstName' : TU1_FN, | |
'lastName' : TU1_LN, | |
'email' : "invalid.email", | |
'password' : 'testUser' }) | |
.expectStatus(400) | |
.expectHeader('Content-Type', 'application/json; charset=utf-8') | |
.expectJSONTypes({'error' : String}) | |
.toss() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment