use the fabulous screencast-reporter

This commit is contained in:
Spencer Alger
2014-09-23 09:55:17 -07:00
parent 03a776daf1
commit 230578d4bc
5 changed files with 18 additions and 36 deletions

View File

@ -101,7 +101,9 @@ describe('Angular esFactory', function () {
return $http(config);
});
return client.ping();
return client.ping({
requestTimeout: 1000
});
});
});
@ -135,7 +137,9 @@ describe('Angular esFactory', function () {
});
});
var prom = client.ping();
var prom = client.ping({
requestTimeout: 1000
});
return prom.then(function () {
expect($httpParams).to.have.property('headers');
expect($httpParams.headers).to.have.property('Authorization', authHeader);