fix karma tests

This commit is contained in:
Matias Alejo Garcia 2014-09-19 11:37:28 -03:00
parent 4bf7bbe73f
commit e48e6e3fd5
2 changed files with 1 additions and 7 deletions

View File

@ -188,7 +188,6 @@ Storage.prototype.getWalletIds = function(cb) {
preconditions.checkArgument(cb);
var walletIds = [];
var uniq = {};
this.storage.allKeys(function(keys) {
for (var ii in keys) {
var key = keys[ii];

View File

@ -15,7 +15,7 @@ saveAs = function(blob, filename) {
var startServer = require('../../mocks/FakePayProServer');
describe("Unit: Controllers", function() {
config.plugins.LocalStorage=null;
config.plugins.LocalStorage=true;
config.plugins.GoogleDrive=null;
var invalidForm = {
@ -76,11 +76,6 @@ describe("Unit: Controllers", function() {
expect(saveAsLastCall.filename).equal('myTESTwullet-testID-keybackup.json.aes');
});
it('Backup controller #delete', function() {
expect(scope.wallet).not.equal(undefined);
scope.deleteWallet();
expect(scope.wallet).equal(undefined);
});
});
describe('Create Controller', function() {