From 02af76cdb97a64afa87163a2f8a42b21070be491 Mon Sep 17 00:00:00 2001 From: Mario Colque Date: Wed, 23 Apr 2014 18:03:22 -0300 Subject: [PATCH] change var name from copay to copayApp --- js/app.js | 2 +- test/unit/controllers/controllersSpec.js | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/js/app.js b/js/app.js index 24c39d302..38f215f63 100644 --- a/js/app.js +++ b/js/app.js @@ -1,6 +1,6 @@ 'use strict'; -var copay = window.copay = angular.module('copay',[ +var copayApp = window.copayApp = angular.module('copay',[ 'ngRoute', 'mm.foundation', 'monospaced.qrcode', diff --git a/test/unit/controllers/controllersSpec.js b/test/unit/controllers/controllersSpec.js index a5190f5b7..6554e692d 100644 --- a/test/unit/controllers/controllersSpec.js +++ b/test/unit/controllers/controllersSpec.js @@ -6,31 +6,31 @@ describe("Unit: Testing Controllers", function() { beforeEach(angular.mock.module('copay')); it('should have a AddressesController controller', function() { - expect(copay.AddressesController).not.to.equal(null); + expect(copayApp.AddressesController).not.to.equal(null); }); it('should have a BackupController controller', function() { - expect(copay.Backupcontroller).not.to.equal(null); + expect(copayApp.Backupcontroller).not.to.equal(null); }); it('should have a HeaderController controller', function() { - expect(copay.HeaderController).not.to.equal(null); + expect(copayApp.HeaderController).not.to.equal(null); }); it('should have a SendController controller', function() { - expect(copay.SendController).not.to.equal(null); + expect(copayApp.SendController).not.to.equal(null); }); it('should have a SetupController controller', function() { - expect(copay.SetupController).not.to.equal(null); + expect(copayApp.SetupController).not.to.equal(null); }); it('should have a SigninController controller', function() { - expect(copay.SigninController).not.to.equal(null); + expect(copayApp.SigninController).not.to.equal(null); }); it('should have a TransactionsController controller', function() { - expect(copay.TransactionsController).not.to.equal(null); + expect(copayApp.TransactionsController).not.to.equal(null); }); });