Merge pull request #4499 from jlmitch5/fixUiUnitTests

fixed job results controller test get labels function
This commit is contained in:
jlmitch5 2016-12-19 12:07:14 -05:00 committed by GitHub
commit c48a2cad2e

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)");