We've encountered this elsewhere before also, but for some reason, the tests involving:
lambda do
...
end.should change(..., ...)
always seem to break for no apparent reason. I know from integration testing (well, in the sense where I'm just clicking around the site) the features are actually working. This means that there is something intrinsically wrong with the tests. However, the statement works perfectly fine in the other tests. If someone can resolve this mystery for us, it would be really awesome.
We've encountered this elsewhere before also, but for some reason, the tests involving:
lambda do ... end.should change(..., ...)
always seem to break for no apparent reason. I know from integration testing (well, in the sense where I'm just clicking around the site) the features are actually working. This means that there is something intrinsically wrong with the tests. However, the statement works perfectly fine in the other tests. If someone can resolve this mystery for us, it would be really awesome.