The expect assertion doesn't have a was method, unfortunately. be, have, include, not, only--no was.