mirror of https://github.com/BTCPrivate/copay.git
Merge pull request #644 from ryanxcharles/bug/fix-broken-localplain-test
fix broken test
This commit is contained in:
commit
1d8559237e
|
@ -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…
Reference in New Issue