[rspec-users] raise_error suggestion

Paul Hinze paul.t.hinze at gmail.com
Wed Apr 14 15:53:34 EDT 2010

On Wed, Apr 14, 2010 at 2:28 PM, rogerdpack <rogerdpack at gmail.com> wrote:
> change it so that if raise_error is called without parameters, and it
> catches NoMethodError, it outputs a warning somehow.
> Thoughts?

+1; I have been burned by this several times, and this is seems like
an elegant solution to clear up the potential confusion in this
behavior.  Less confusion = happier devs



More information about the rspec-users mailing list