Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
update tests after adding one extra service
Browse files Browse the repository at this point in the history
  • Loading branch information
iloire committed Aug 25, 2012
1 parent 2bf6f16 commit 77cce95
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/services.mocha
Expand Up @@ -7,13 +7,13 @@ describe('services', function(){
describe('reporting list', function(){
it('should load all services', function(done){
var services = require ('../lib/services').load_services();
assert.equal (services.length, 25);
assert.equal (services.length, 26);
done();
});

it('should load all enabled services', function(done){
var services_enabled = services.filter(function(item){return item.enabled;});
assert.equal (services_enabled.length, 22);
assert.equal (services_enabled.length, 23);
done();
});
});
Expand Down
2 changes: 1 addition & 1 deletion test/storage_redis.mocha
Expand Up @@ -59,7 +59,7 @@ describe('redis storage', function(){
var services = require ('../lib/services').load_services();
redis_storage.report_all(services, function(err, data){
assert.ifError(err);
assert.equal (data.services.length, 25);
assert.equal (data.services.length, 26);
done();
});
});
Expand Down

0 comments on commit 77cce95

Please sign in to comment.