[rspec-users] Assertions for asynchronous behaviour

Alex Chaffee
Thu, 22 Sep 2011 00:51:42 -0000

On Wed, Sep 21, 2011 at 1:01 PM, Matt Wynne <matt at mattwynne.net>
wrote:
> I want a helpful error message when the test fails, rather than a crude
TimeoutError or whatever.

I hear you.

> I''m ambivalent about this: I would worry that allowing falsiness
to cause an assertion to be raised is not idiomatic RSpec, but perhaps it is
idiomatic Wrong, since you can do all that magic to infer an error message
anyway, right?

I hope so... I mean, uh, yes! Definitely! :-)

--
Alex Chaffee - alex at stinky.com