Hi all, I am writing unit test cases(CRUD) for all my models. But i face a problem in some of my test cases. i.e., if i write an update method in my test case it should update the data in my test database.and if i write delete method it should delete the data in my test database. this is happening in some of my models but for some of my models its not updating rather its giving a message "Test Successful".So wat is the problem behind this?? wat should i do??Please Reply.. Thanks in Advance, Harish -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi all, I am writing unit test cases(CRUD) for all my models. But i face a problem in some of my test cases. i.e., if i write an update method in my test case it should update the data in my test database.and if i write delete method it should delete the data in my test database. this is happening in some of my models but for some of my models its not updating rather its giving a message "Test Successful".So wat is the problem behind this?? wat should i do??Please Reply.. Thanks in Advance, Harish -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---