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/sync-plans/new-sync-plan.controller.test.js
**/
describe('Controller: NewSyncPlanController', function() {
var $scope, gettext, SyncPlan;
var $scope, translate, SyncPlan;
beforeEach(module(
'Bastion.sync-plans',
......
$scope.transitionBack = function () {};
$scope.product = {};
gettext = function (string) { return string; };
translate = function (string) { return string; };
$controller('NewSyncPlanController', {
$scope: $scope,
gettext: gettext,
translate: translate,
SyncPlan: SyncPlan
});

Also available in: Unified diff