Spain snatched a 1-0 win over World Cup finalists France thanks to a late goal from left back Joan Capdevila in a Euro 2008 warm-up on Wednesday.