> But when I run it in script/console it shows that both :should and :expect syntax used.

Huh, I forgot we had `script/console`.  Anyhow, it doesn't have the setup the cucumber environment has, so it's not going to be the same.