mirror of
https://github.com/ansible/awx.git
synced 2026-03-11 22:49:32 -02:30
fixed job results controller test get labels function
This commit is contained in:
@@ -212,6 +212,9 @@ describe('Controller: jobResultsController', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('should set scope variables based on options', () => {
|
it('should set scope variables based on options', () => {
|
||||||
|
$scope.job_status = jobData.status;
|
||||||
|
|
||||||
|
$scope.$apply();
|
||||||
expect($scope.status_label).toBe("New");
|
expect($scope.status_label).toBe("New");
|
||||||
expect($scope.type_label).toBe("Playbook Run");
|
expect($scope.type_label).toBe("Playbook Run");
|
||||||
expect($scope.verbosity_label).toBe("0 (Normal)");
|
expect($scope.verbosity_label).toBe("0 (Normal)");
|
||||||
|
|||||||
Reference in New Issue
Block a user