Hi all,
I noticed that if I have a method named has_somthing? and I do:
object.should_not have_somthing and it failed (as expected) when the
method returns nil.
But if the method is something? and I do:
object.should_not be_something, and it succeeded (not what I expected)
when something? returns nil
Is this intended behavior or something I did was wrong? Thanks
Yi
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users