Permalink
Browse files

update tests after adding one extra service

  • Loading branch information...
1 parent 2bf6f16 commit 77cce950fbabd072fabdd0a7c03b5f3fc8573063 @iloire committed Aug 25, 2012
Showing with 3 additions and 3 deletions.
  1. +2 −2 test/services.mocha
  2. +1 −1 test/storage_redis.mocha
View
@@ -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();
});
});
@@ -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();
});
});

0 comments on commit 77cce95

Please sign in to comment.