1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00

fixed job results controller test get labels function

This commit is contained in:
John Mitchell 2016-12-19 11:55:42 -05:00
parent 291dca0954
commit df7b2ce4bc

View File

@ -212,6 +212,9 @@ describe('Controller: jobResultsController', () => {
});
it('should set scope variables based on options', () => {
$scope.job_status = jobData.status;
$scope.$apply();
expect($scope.status_label).toBe("New");
expect($scope.type_label).toBe("Playbook Run");
expect($scope.verbosity_label).toBe("0 (Normal)");