Example of my usage:
var myProfileId;
describe('Build a Customer Profile', function() {
it('makes an http request to a 3rd party API...', function(done) {
expect(data).toBeDefined();
done();
})
})
})
describe('Delete a customer Profile', function() {
it('makes sure that we can delete a customer profile', function(done) {
request.delete('<url>/' + myProfileId, function(err, response) {
expect(response).toEqual('OK!');
})
})
})
Basically just need a way for describe build to come before delete :)