// TheNewJobIsDetailed represents a BDD step
TheNewJobIsDetailed represents a BDD step
// TheNewJobIsDetailed represents a BDD step
func (j *JobsFeature) TheNewJobIsDetailed() error {
	var response uc.DescribeJobResponse
	err := rest.ReadJSON(j.responseDescribeJob.Body, &response)
	if err != nil {
		return err
	}
	if response.Name != j.inputJob.Name {
		return errors.New("job not described")
	}
	return nil
}
func ( j * JobsFeature ) TheNewJobIsDetailed ( ) error { var response uc . DescribeJobResponse err := rest . ReadJSON ( j . responseDescribeJob . Body , & response ) if err != nil { return err } if response . Name != j . inputJob . Name { return errors . New ( " " ) } return nil }
TheNewJobIsDetailed represents a BDD step
TheNewJobIsDetailed represents a BDD step