.which does not chain after property assertion
basicallydan opened this issue · comments
The chain item .which
, as far as I can tell, should allow chained assertions like the following:
book.should.have.property('title').which.should.eql('Intro to Unit Testing');
However, at this point .which
is undefined
. In order to make this particular type of chained assertion work I need to do the following.
book.should.have.property('title').which.should.eql('Intro to Unit Testing');
This feels like a hack to me. Is all of the above expected?
Yes .which
is missing now, because it is only in master. I will publish soon it as we discuss all edges of new version.
Oh, great! Cool :) thanks @btd