Merge pull request #707 from maraoz/fix/karma-tests

fix karma tests
This commit is contained in:
Matias Alejo Garcia 2014-06-18 16:15:15 -03:00
commit 670560ea41
4 changed files with 1 additions and 4 deletions

View File

@ -24,7 +24,6 @@ var copayApp = window.copayApp = angular.module('copayApp',[
'angularMoment',
'mm.foundation',
'monospaced.qrcode',
'notifications',
'copayApp.filters',
'copayApp.services',
'copayApp.controllers',

View File

@ -1,6 +1,6 @@
'use strict';
angular.module('notifications', []).
angular.module('copayApp.services').
factory('$notification', ['$timeout',function($timeout){
var notifications = JSON.parse(localStorage.getItem('$notifications')) || [],

View File

@ -13,7 +13,6 @@ describe("Unit: Controllers", function() {
var scope;
beforeEach(module('notifications'));
beforeEach(module('copayApp.services'));
beforeEach(module('copayApp.controllers'));

View File

@ -61,7 +61,6 @@ describe("Unit: Walletfactory Service", function() {
describe("Unit: controllerUtils", function() {
beforeEach(angular.mock.module('copayApp.services'));
beforeEach(angular.mock.module('notifications'));
it('should updateBalance in bits', inject(function(controllerUtils, $rootScope) {
expect(controllerUtils.updateBalance).not.to.equal(null);