Using expect syntax with helper spec generator example