Add controller tests (#4205)

* add walletHome test template

* add create test

* add fixtures

* do not mock parseSecret

* better hash

* use fixtures for create controller test

* add import test

* stubs reset

* add more controller tests

* Remove $state dependency

* refactore fixtures + profiles

* add backup.js test

* update bwc

* rm log
This commit is contained in:
Matias Alejo Garcia 2016-05-20 11:50:55 -03:00
commit aec2aac47b
20 changed files with 2265 additions and 28 deletions

View file

@ -0,0 +1,18 @@
describe('copayers', function() {
var walletService;
var fixtures = {};
beforeEach(function(done){
mocks.init(fixtures, 'copayersController', {}, done);
})
afterEach(function(done){
mocks.clear({}, done);
})
it('should be defined', function() {
should.exist(ctrl);
});
});