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

David Chelimsky dchelimsky at gmail.com
Tue Nov 4 14:53:51 EST 2008

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

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

More information about the rspec-users mailing list