Add infer_spec_type_from_file_location to spec_helper