Use 1.8-style lambda in spec