On 5/09/2007, at 8:51 AM, Geoffrey Wiseman wrote:
Using this as an example, if a new validation rule is added, this
test will fail without indicating /why/. Sure, I can get that
answer in other ways, but I'd hate to discover things like:
it "should be valid with valid attributes" do
# puts @person.errors if [EMAIL PROTECTED]
@person.should be_valid
end
Sorry if I missed the point of this, but in the context of having an
optional failure message....
I am curious as to how an optional message param to the assertion
would help you in this case?
Cheers
Shane
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users