Fix spec with expect syntax