Merge pull request #644 from ryanxcharles/bug/fix-broken-localplain-test

fix broken test
This commit is contained in:
Matias Alejo Garcia 2014-06-10 12:26:30 -03:00
commit 1d8559237e
1 changed files with 1 additions and 1 deletions

View File

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