Skip to content

Commit

Permalink
updated number of installed test services
Browse files Browse the repository at this point in the history
  • Loading branch information
smurthas committed Apr 12, 2011
1 parent 9547598 commit a6a17fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/locker-test.js
Expand Up @@ -35,13 +35,13 @@ tests.use("localhost", 8042)
.expect("has 16 available services", function(err, res, body) {
var map = JSON.parse(body);
assert.equal(map.available.length, 16);
}).expect("has 7 installed services", function(err, res, body) {
}).expect("has 8 installed services", function(err, res, body) {
var map = JSON.parse(body);
var count = 0;
for (var key in map.installed) {
if (map.installed.hasOwnProperty(key)) ++count;
}
assert.equal(count, 7);
assert.equal(count, 8);
}).expect("has the required test services installed", function(err, res, body) {
var map = JSON.parse(body);
assert.include(map.installed, "testURLCallback");
Expand Down

0 comments on commit a6a17fe

Please sign in to comment.