Skip to content

Instantly share code, notes, and snippets.

@peterzawistowicz
Created April 17, 2015 18:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peterzawistowicz/4ea07cc0a27dcad2d262 to your computer and use it in GitHub Desktop.
Save peterzawistowicz/4ea07cc0a27dcad2d262 to your computer and use it in GitHub Desktop.
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