Relying too complacently on the defensive strategy of the fortified Maginot Line along the northeast frontier with Germany ( but not facing Belgium ) , the French were totally unprepared for the German invasion across the Ardennes in May 1940 .
With the help of allies , France repelled the German offensive .