Changeset 323 for GearsORM/trunk/tests/test_simple.html
- Timestamp:
- 08/18/07 19:34:16 (17 months ago)
- Files:
-
- 1 modified
-
GearsORM/trunk/tests/test_simple.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
GearsORM/trunk/tests/test_simple.html
r319 r323 49 49 UnitTest.assertTrue(fromDb.firstName == "updated","someone wasn`t updated"); 50 50 }, 51 "test if count works":function() 52 { 53 UnitTest.assertEqual(1,Person.count()); 54 new Person({firstName:"test",lastName:"test"}).save(); 55 UnitTest.assertEqual(2,Person.count()); 56 UnitTest.assertEqual(1,Person.count("firstName = ?",["test"])); 57 }, 51 58 "test if delete works":function() 52 59 {
