McDonald's said they've "got the right oil" for healthier french fries.

Spokesman Walt Riker said after years of testing, the fast-food giant has finally selected a new trans fat-free oil for its famous fries. McDonald's said the new oil is a canola-based and includes a mix of corn and soy oils.

Riker said it has gotten good reviews in extensive testing and is now being used in more than 1,200 U.S. restaurants.

However, he hasn't said when the healthier oil will be used in all of the company's more than 13,000 restaurants in the U.S.

McDonald's and other restaurants face a July 1 deadline to start complying with a New York City ordinance that bans the use of artificial trans fats.