Merge pull request #644 from ryanxcharles/bug/fix-broken-localplain-test
fix broken test
This commit is contained in:
commit
1d8559237e
1 changed files with 1 additions and 1 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue