use expect syntax for specs