Created
January 31, 2013 14:01
-
-
Save rdpanek/4683062 to your computer and use it in GitHub Desktop.
example integrate test
This file contains hidden or 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
it('List all types', function(done){ | |
request(app) | |
.get('/api/v1/types') | |
.expect(200) | |
.end(function(err, res){ | |
res.body.length.should.eql(2); | |
res.body[0].title.should.eql(title); | |
done(); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment