Created
April 17, 2015 18:14
-
-
Save peterzawistowicz/4ea07cc0a27dcad2d262 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 missing firstName') | |
.post(tc.url + '/user/enroll', | |
{ 'lastName' : TU1_LN, | |
'email' : TU1_EMAIL, | |
'password' : TU1_PW }) | |
.expectStatus(400) | |
.expectHeader('Content-Type', 'application/json; charset=utf-8') | |
.expectJSON({'error' : 'Undefined First Name'}) | |
.toss() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment