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',
function($scope, $rootScope, $location, $window, $timeout, $modal, backupService, walletFactory, controllerUtils) {
$scope.title = 'Settings';
$scope.download = function() {
backupService.download($rootScope.wallet);
};

View file

@ -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'
}];

View file

@ -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() {