Updated remove modules tests to reflect getNodeModuleInfo changes

This commit is contained in:
Anna Thomas 2014-12-05 16:51:26 +00:00
parent 1a5751ff1d
commit 8b6e287a74
1 changed files with 1 additions and 1 deletions

View File

@ -270,7 +270,7 @@ describe("red/nodes/index", function() {
});
sinon.stub(registry,"getNodeModuleInfo",function(module) {
if (module == "node-red") {
return {name:"node-red",nodes:["foo"]};
return ["foo"];
} else if (module == "doesnotexist") {
return null;
} else {