Project

General

Profile

« Previous | Next » 

Revision 6f5e909f

Added by Walden Raines about 10 years ago

Fixes #4785, replace gettext with translate for extraction/replacement.

View differences:

engines/bastion/test/systems/bulk/systems-bulk-action.controller.test.js
**/
describe('Controller: SystemsBulkActionController', function() {
var $scope, $q, selected, gettext, SystemBulkAction, SystemGroup, Organization, Task, CurrentOrganization;
var $scope, $q, selected, translate, SystemBulkAction, SystemGroup, Organization, Task, CurrentOrganization;
beforeEach(module('Bastion.systems', 'Bastion.test-mocks'));
......
query: function() {},
poll: function() {}
};
gettext = function() {};
translate = function() {};
CurrentOrganization = 'foo';
});
......
SystemBulkAction: SystemBulkAction,
SystemGroup: SystemGroup,
CurrentOrganization: 'foo',
gettext: gettext,
translate: translate,
Organization: Organization,
CurrentOrganization: CurrentOrganization,
Task: Task});

Also available in: Unified diff