fix ALL karma + mocha tests, + karma integration

This commit is contained in:
Matias Alejo Garcia 2014-10-29 22:54:48 -03:00
commit ae4dd9a54b
4 changed files with 205 additions and 162 deletions

View file

@ -25,13 +25,12 @@ describe("Unit: Controllers", function() {
var scope;
var server;
beforeEach(module('copayApp.services'));
beforeEach(module('copayApp.controllers'));
beforeEach(angular.mock.module('copayApp'));
beforeEach(module(function($provide) {
$provide.value('request', {
'get': function(_, cb) {
cb(null, null, [{
beforeEach(module('copayApp'));
beforeEach(module('copayApp.controllers'));
beforeEach(module(function($provide) {
$provide.value('request', {
'get': function(_, cb) {
cb(null, null, [{
name: 'USD Dollars',
code: 'USD',
rate: 2