[rspec-users] Assertions for asynchronous behaviour
alex at stinky.com
Wed Sep 21 20:51:42 EDT 2011
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
More information about the rspec-users