Merge pull request #859 from matiu/feature/wording

change settings tab name
This commit is contained in:
Manuel Aráoz 2014-07-08 12:10:04 -03:00
commit b3f2476992
3 changed files with 2 additions and 8 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

@ -41,10 +41,6 @@ describe("Unit: Controllers", function() {
}); });
})); }));
it('Should have a Backup controller', function() {
expect(scope.title).equal('Settings');
});
it('Backup controller #download', function() { it('Backup controller #download', function() {
scope.wallet.setEnc('1234567'); scope.wallet.setEnc('1234567');
expect(saveAsLastCall).equal(null); expect(saveAsLastCall).equal(null);