identity now emits!
This commit is contained in:
parent
57299d675e
commit
3ae6378678
33 changed files with 376 additions and 346 deletions
|
|
@ -524,14 +524,14 @@ describe('Wallet model', function() {
|
|||
|
||||
|
||||
|
||||
it('#isReady', function() {
|
||||
it('#isComplete', function() {
|
||||
var w = createW();
|
||||
w.publicKeyRing.isComplete().should.equal(false);
|
||||
w.isReady().should.equal(false);
|
||||
w.isComplete().should.equal(false);
|
||||
|
||||
var w2 = createW2();
|
||||
w2.publicKeyRing.isComplete().should.equal(true);
|
||||
w2.isReady().should.equal(true);
|
||||
w2.isComplete().should.equal(true);
|
||||
});
|
||||
|
||||
it('handle network indexes correctly', function() {
|
||||
|
|
@ -2497,7 +2497,7 @@ describe('Wallet model', function() {
|
|||
blockchainOpts: {},
|
||||
}, function(err, w) {
|
||||
should.exist(w);
|
||||
w.isReady().should.equal(true);
|
||||
w.isComplete().should.equal(true);
|
||||
var wo = w.toObj();
|
||||
wo.opts.id.should.equal('48ba2f1ffdfe9708');
|
||||
wo.opts.spendUnconfirmed.should.equal(true);
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ describe("Unit: Controllers", function() {
|
|||
|
||||
var w = {};
|
||||
w.id = 1234;
|
||||
w.isReady = sinon.stub().returns(true);
|
||||
w.isComplete = sinon.stub().returns(true);
|
||||
w.privateKey = {};
|
||||
w.settings = {
|
||||
unitToSatoshi: 100,
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ describe("Unit: Testing Directives", function() {
|
|||
beforeEach(inject(function($rootScope) {
|
||||
|
||||
var w = {};
|
||||
w.isReady = sinon.stub().returns(true);
|
||||
w.isComplete = sinon.stub().returns(true);
|
||||
w.privateKey = {};
|
||||
w.settings = {
|
||||
unitToSatoshi: 100,
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ describe('Angular Filters', function() {
|
|||
beforeEach(inject(function($rootScope) {
|
||||
|
||||
var w = {};
|
||||
w.isReady = sinon.stub().returns(true);
|
||||
w.isComplete = sinon.stub().returns(true);
|
||||
w.privateKey = {};
|
||||
w.settings = {
|
||||
unitToSatoshi: 100,
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ describe("Angular services", function() {
|
|||
beforeEach(inject(function($rootScope) {
|
||||
|
||||
var w = {};
|
||||
w.isReady = sinon.stub().returns(true);
|
||||
w.isComplete = sinon.stub().returns(true);
|
||||
w.privateKey = {};
|
||||
w.settings = {
|
||||
unitToSatoshi: 100,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue