diff --git a/test/red/nodes/index_spec.js b/test/red/nodes/index_spec.js index f0805f99b..878d991fb 100644 --- a/test/red/nodes/index_spec.js +++ b/test/red/nodes/index_spec.js @@ -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 {