diff --git a/test/test.storage.LocalPlain.js b/test/test.storage.LocalPlain.js index 8c5dd3290..92b80b89b 100644 --- a/test/test.storage.LocalPlain.js +++ b/test/test.storage.LocalPlain.js @@ -17,7 +17,7 @@ if (typeof process === 'undefined' || !process.version) { describe('#setFromObj', function() { it('should set keys from an object', function() { localStorage.clear(); - var obj = {test:'testval'}; + var obj = {test:'testval', opts: {name: 'testname'}}; var storage = new LocalPlain(); storage.setFromObj('walletId', obj); storage.get('walletId', 'test').should.equal('testval');