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

Pat Maddox pergesu at gmail.com
Tue Nov 4 14:47:29 EST 2008


"David Chelimsky" <dchelimsky at gmail.com> writes:

> Alternatively, you could add a new method:
>
> def_matcher

I dig this.

Pat


More information about the rspec-users mailing list