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:
parent
291dca0954
commit
df7b2ce4bc
@ -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)");
|
||||
|
Loading…
Reference in New Issue
Block a user