mirror of https://github.com/node-red/node-red.git
Updated test to reflect saving settings in nodes
parent
b006ccf610
commit
81e08e06e4
|
@ -301,7 +301,7 @@ describe('NodeRegistry', function() {
|
|||
moduleList.should.be.Array.and.have.length(1);
|
||||
|
||||
settingsSave.callCount.should.equal(1);
|
||||
settingsSave.firstCall.args[0].should.be.equal("modules");
|
||||
settingsSave.firstCall.args[0].should.be.equal("nodes");
|
||||
var savedList = settingsSave.firstCall.args[1];
|
||||
|
||||
savedList[moduleList[0].name].name.should.equal(moduleList[0].name);
|
||||
|
|
Loading…
Reference in New Issue