Forum: Ruby on Rails Testing

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
C4fee92c07e4fee216aeab5be40e6cc9?d=identicon&s=25 Naga harish Kanegolla (nagaharish)
on 2007-01-17 08:26

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

Thanks in Advance,
This topic is locked and can not be replied to.