France dominated for most of a tactical and conservative friendly, but the game burst into life when Capdevila put Spain in front snapping in a rebound from close range 10 minutes from time.