// TheNewJobIsNotListed represents a BDD step
TheNewJobIsNotListed represents a BDD step
// TheNewJobIsNotListed represents a BDD step
func (j *JobsFeature) TheNewJobIsNotListed() error {
	var response uc.FindJobsResponse
	err := rest.ReadJSON(j.responseFindJobs.Body, &response)
	if err != nil {
		return err
	}
	job := findJobByName(response, "list")
	if job != nil {
		return errors.New("job was listed when it should not")
	}
	return nil
}
func ( j * JobsFeature ) TheNewJobIsNotListed ( ) error { var response uc . FindJobsResponse err := rest . ReadJSON ( j . responseFindJobs . Body , & response ) if err != nil { return err } job := findJobByName ( response , " " ) if job != nil { return errors . New ( " " ) } return nil }
TheNewJobIsNotListed represents a BDD step
TheNewJobIsNotListed represents a BDD step