[rspec-users] pending w/ no string

Scott Taylor mailing_lists at railsnewbie.com
Mon Aug 6 07:29:52 EDT 2007

On Aug 6, 2007, at 7:19 AM, David Chelimsky wrote:

> On 8/6/07, Scott Taylor <mailing_lists at railsnewbie.com> wrote:
>> Is there some reason that pending() *MUST* take an argument?
> There was no discussion of this when the feature was contributed.
> Thinking about it now, to allow for no arg would require good default
> messages - one for when there is a block and one for when there is
> not. As long as you can come up w/ messages that really make sense in
> all situations, then a patch would be welcome.

How about accepting no arguments if no block is given?


More information about the rspec-users mailing list