From 360ccd724d5e0f69e18399bf67b9bd1c90011f25 Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Tue, 8 Jul 2014 10:48:56 -0300 Subject: [PATCH] change settings tab name --- js/controllers/backup.js | 2 -- js/controllers/header.js | 4 ++-- test/unit/controllers/controllersSpec.js | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/js/controllers/backup.js b/js/controllers/backup.js index c7fa10421..f6fa34ad1 100644 --- a/js/controllers/backup.js +++ b/js/controllers/backup.js @@ -2,8 +2,6 @@ angular.module('copayApp.controllers').controller('BackupController', function($scope, $rootScope, $location, $window, $timeout, $modal, backupService, walletFactory, controllerUtils) { - $scope.title = 'Settings'; - $scope.download = function() { backupService.download($rootScope.wallet); }; diff --git a/js/controllers/header.js b/js/controllers/header.js index 9a7acb166..66e72d6dd 100644 --- a/js/controllers/header.js +++ b/js/controllers/header.js @@ -15,8 +15,8 @@ angular.module('copayApp.controllers').controller('HeaderController', 'icon': 'fi-arrow-right', 'link': '#/send' }, { - 'title': 'Settings', - 'icon': 'fi-wrench', + 'title': 'More...', + 'icon': 'fi-download', 'link': '#/backup' }]; diff --git a/test/unit/controllers/controllersSpec.js b/test/unit/controllers/controllersSpec.js index e4a49e662..267d562a8 100644 --- a/test/unit/controllers/controllersSpec.js +++ b/test/unit/controllers/controllersSpec.js @@ -42,7 +42,7 @@ describe("Unit: Controllers", function() { })); it('Should have a Backup controller', function() { - expect(scope.title).equal('Settings'); + expect(scope.title).to.be.an('undefined'); }); it('Backup controller #download', function() {