1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Updated test to reflect saving settings in nodes

This commit is contained in:
Anna Thomas 2014-12-08 10:10:16 +00:00
parent b006ccf610
commit 81e08e06e4

View File

@ -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);