diff --git a/test/red/api/nodes_spec.js b/test/red/api/nodes_spec.js index c962631d7..7f08714e2 100644 --- a/test/red/api/nodes_spec.js +++ b/test/red/api/nodes_spec.js @@ -217,7 +217,7 @@ describe("nodes api", function() { if (module === "foo") { return { name:"foo", - nodes:[{id:123}] + nodes:[{id:"123"}] }; } }); diff --git a/test/red/storage/localfilesystem_spec.js b/test/red/storage/localfilesystem_spec.js index fe2ec629f..b6c37ab84 100644 --- a/test/red/storage/localfilesystem_spec.js +++ b/test/red/storage/localfilesystem_spec.js @@ -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);