removed the previous browser_yaml_suite, and fixed the 'returns a client' tests

This commit is contained in:
Spencer Alger
2014-01-17 09:45:39 -07:00
parent 3b15f5f309
commit 3d8117ba3e
7 changed files with 8 additions and 285 deletions

View File

@ -46,7 +46,8 @@ describe('Angular esFactory', function () {
return function () {
try {
var client = esFactory({ hosts: null });
expect(client).to.have.keys('ping', 'transport', 'indices', 'cluster');
expect(client).to.have.keys('transport');
expect(client.transport).to.be.a(esFactory.Transport);
client.close();
} catch (e) {
return done(e);