[rspec-users] have_text matcher does not support should_not.

Luis Lavena luislavena at gmail.com
Fri May 18 22:53:27 EDT 2007

On 5/18/07, David Chelimsky <dchelimsky at gmail.com> wrote:
> On 5/18/07, Luis Lavena <luislavena at gmail.com> wrote:
> >
> > response.should have_text(expected)
> > response.should_not have_text(expected)
> >
> > Just a bug? If so, I'm filling a a report at rubyforge.
> Just a bug. Please file.

Ok, until gets fixed:

response.should_not !have_text(/Join This Group/)

Luis Lavena
Multimedia systems
Leaders are made, they are not born. They are made by hard effort,
which is the price which all of us must pay to achieve any goal that
is worthwhile.
Vince Lombardi

More information about the rspec-users mailing list