2009/8/1 karthik k <[email protected]>: > hi > i am updating the data in unit testing > > def test_for_update > post=counties(:one) > assert post.valid?, post.errors.full_messages > assert post.update_attributes(:name=>"") > end > > > name should not be empty but as you said i displayed > > "assert post.valid?, post.errors.full_messages" > > But i am not getting error message in assert but getting error message
What is the error message you see (all of it) Colin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

