From 8b6e287a747eea97cb108db66f9ea162c77d4bba Mon Sep 17 00:00:00 2001 From: Anna Thomas Date: Fri, 5 Dec 2014 16:51:26 +0000 Subject: [PATCH] Updated remove modules tests to reflect getNodeModuleInfo changes --- test/red/nodes/index_spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {