settings: fix angular test 4

This commit is contained in:
Manuel Araoz 2014-09-05 16:16:06 -07:00
commit 2a976d2673
3 changed files with 28 additions and 21 deletions

View file

@ -384,6 +384,7 @@ describe("Unit: Controllers", function() {
beforeEach(inject(function($compile, $rootScope, $controller) {
scope = $rootScope.$new();
$rootScope.availableBalance = 123456;
$rootScope.wallet = new FakeWallet(walletConfig);
var element = angular.element(
'<form name="form">' +

View file

@ -4,6 +4,7 @@
//
//
var sinon = require('sinon');
var preconditions = require('preconditions').singleton();
describe("Unit: Walletfactory Service", function() {
beforeEach(angular.mock.module('copayApp.services'));