Fix specs to use expect syntax