change settings tab name

This commit is contained in:
Matias Alejo Garcia 2014-07-08 10:48:56 -03:00
commit 360ccd724d
3 changed files with 3 additions and 5 deletions

View file

@ -2,8 +2,6 @@
angular.module('copayApp.controllers').controller('BackupController', angular.module('copayApp.controllers').controller('BackupController',
function($scope, $rootScope, $location, $window, $timeout, $modal, backupService, walletFactory, controllerUtils) { function($scope, $rootScope, $location, $window, $timeout, $modal, backupService, walletFactory, controllerUtils) {
$scope.title = 'Settings';
$scope.download = function() { $scope.download = function() {
backupService.download($rootScope.wallet); backupService.download($rootScope.wallet);
}; };

View file

@ -15,8 +15,8 @@ angular.module('copayApp.controllers').controller('HeaderController',
'icon': 'fi-arrow-right', 'icon': 'fi-arrow-right',
'link': '#/send' 'link': '#/send'
}, { }, {
'title': 'Settings', 'title': 'More...',
'icon': 'fi-wrench', 'icon': 'fi-download',
'link': '#/backup' 'link': '#/backup'
}]; }];

View file

@ -42,7 +42,7 @@ describe("Unit: Controllers", function() {
})); }));
it('Should have a Backup controller', 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() { it('Backup controller #download', function() {