unit test failure

Getting the following Failures in my unit test. Can someone point me
in the right direction?:

1) Failure:
     ./test/unit/user_test.rb:131:in `each'
<"must be a valid email address"> expected but was
<["must be a valid email address", "must be valid."]>.

Thanks for your help


I think you must be checking model.errors rather than
model.errors.on(:email). If you post your UserTest for
test_email_with_invalid_examples I might be able to help.

I think I found the problem already. I had two tests that were
checking for the same thing and when I commented out the tests that
returns "must be valid" the failure went away and the test/assertion
passed ok. does that sound right to you? thanks for your help!