Fix unit test failures following mocha upgrade

This commit is contained in:
Nick O'Leary 2015-02-06 17:27:43 +00:00
parent 1e6f45852f
commit 8eb1a02407
2 changed files with 2 additions and 2 deletions

View File

@ -217,7 +217,7 @@ describe("nodes api", function() {
if (module === "foo") {
return {
name:"foo",
nodes:[{id:123}]
nodes:[{id:"123"}]
};
}
});

View File

@ -264,7 +264,7 @@ describe('LocalFileSystem', function() {
it('should return an empty list of library objects',function(done) {
localfilesystem.init({userDir:userDir}).then(function() {
localfilesystem.getLibraryEntry('object','').then(function(flows) {
flows.should.eql({});
flows.should.eql([]);
done();
}).otherwise(function(err) {
done(err);