remove .only
This commit is contained in:
parent
cd71ce4421
commit
a83aa869fd
2 changed files with 4 additions and 7 deletions
|
|
@ -160,8 +160,6 @@ WalletFactory.prototype._checkNetwork = function(inNetworkName) {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
WalletFactory.prototype.open = function(walletId, opts) {
|
WalletFactory.prototype.open = function(walletId, opts) {
|
||||||
opts = opts || {};
|
opts = opts || {};
|
||||||
opts.id = walletId;
|
opts.id = walletId;
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ describe("Unit: Controllers", function() {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
describe.only('Backup Controller', function() {
|
describe('Backup Controller', function() {
|
||||||
var ctrl;
|
var ctrl;
|
||||||
beforeEach(inject(function($controller, $rootScope) {
|
beforeEach(inject(function($controller, $rootScope) {
|
||||||
scope = $rootScope.$new();
|
scope = $rootScope.$new();
|
||||||
|
|
@ -39,11 +39,11 @@ describe("Unit: Controllers", function() {
|
||||||
});
|
});
|
||||||
}));
|
}));
|
||||||
|
|
||||||
it('should have a Backup controller', function() {
|
it('Should have a Backup controller', function() {
|
||||||
expect(scope.title).equal('Backup');
|
expect(scope.title).equal('Backup');
|
||||||
});
|
});
|
||||||
|
|
||||||
it(' Backup controller #download', function() {
|
it('Backup controller #download', function() {
|
||||||
scope.wallet.setEnc('1234567');
|
scope.wallet.setEnc('1234567');
|
||||||
expect(saveAsLastCall).equal(null);
|
expect(saveAsLastCall).equal(null);
|
||||||
scope.download();
|
scope.download();
|
||||||
|
|
@ -51,8 +51,7 @@ describe("Unit: Controllers", function() {
|
||||||
expect(saveAsLastCall.type).equal('text/plain;charset=utf-8');
|
expect(saveAsLastCall.type).equal('text/plain;charset=utf-8');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it('Backup controller #delete', function() {
|
||||||
it(' Backup controller #delete', function() {
|
|
||||||
expect(scope.wallet).not.equal(undefined);
|
expect(scope.wallet).not.equal(undefined);
|
||||||
scope.deleteWallet();
|
scope.deleteWallet();
|
||||||
expect(scope.wallet).equal(undefined);
|
expect(scope.wallet).equal(undefined);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue