foxnewsnetwork / rubyopenvn

Ruby-based implementation of FFOpenVN as ported over from nodejs
1 stars 0 forks source link

stories_controller_spec lambda issue #7

Open foxnewsnetwork opened 12 years ago

foxnewsnetwork commented 12 years ago

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.

foxnewsnetwork commented 12 years ago

I don't why, but the lambda feature in rspec has started working again. Yay indeterminism.