Harbison Canyon is about four miles east of town.
The fire burned through steep stretches of buckwheat, mustard and wild grasses but firefighters quickly managed to stop its spread and by late afternoon it was 25 percent contained, she said.
"The fire burned around the homes, didn't damage any, and now the rate of spread has stopped," Provaznik said.
About 255 firefighters, aided by helicopter, battled the blaze, she said.
The fire was in an area with mainly light grasses. Larger brush and trees were burned away by the massive Cedar Fire of 2003, which destroyed more than 3,000 homes and killed 16 people.
Meanwhile, firefighters on Saturday contained two wildfires in Kern County.
One fire was reported about 10 a.m. Saturday at a campground in the Kern River Canyon, said Capt. Alex Entenman of Kern County Fire. It grew to 385 acres before firefighters were able to surround it Saturday night, he said. No injuries were reported and no structures damaged.
The second fire, a 500-acre blaze, threatened 50 homes near a mountain pass before being surrounded at 6 a.m.
That fire broke out about 9:30 a.m. Friday and burned through grassland and brush in the Grapevine area along Interstate 5 in the Tehachapi Mountains.
Residents of some 50 homes in Digier Canyon were advised to leave but the threat ended and the fire basically had stopped growing by Friday evening.
Moist overnight weather kept it down, Diffenbaugh said.
"As soon as the sun went own, the humidity came down quite a bit, so that helped," he said.
About 200 firefighters, aided by aircraft, fought the blaze.
One firefighter suffered a minor leg injury, Diffenbaugh said.
The fire's cause was under investigation.