[rspec-users] Can I do foo.should (be_nil || be_empty) in rspec

David Chelimsky
2008-11-04T19:53:51Z

On Tue, Nov 4, 2008 at 1:47 PM, Pat Maddox <pergesu at gmail.com>
wrote:
> "David Chelimsky" <dchelimsky at gmail.com> writes:
>
>> Alternatively, you could add a new method:
>>
>> def_matcher
>
> I dig this.

FYI - I was talking off-line (on line, really, but outside this list)
to wycats and he''s got some matcher stuff in merb that I, shamefully,
have yet to check out in detail. It''d be good to peak at that and see
if it makes sense to bring it into rspec, or maybe release it as a
plugin/extension.

>
> Pat
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>