[rspec-users] have_text matcher does not support should_not.
luislavena at gmail.com
Fri May 18 22:15:55 EDT 2007
Doing conversion of some test for some controllers, still with integrated views.
Anyway, I have this:
it "should not see Join This Group button on profile page as member" do
get "show", :id => @group.id
response.should_not have_text(/Join This Group/)
But running with spec (0.9.4), drop me the folling error:
Matcher does not support should_not.
See Spec::Matchers for more information
Which is contradictory, since RDoc state otherwise:
Just a bug? If so, I'm filling a a report at rubyforge.
Thanks in advance
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
More information about the rspec-users