mirror of
https://github.com/moparisthebest/mail
synced 2024-11-26 02:42:17 -05:00
added error handling in lawnchair dao
This commit is contained in:
parent
5c1b89dfc9
commit
eaddd674b9
@ -19,8 +19,8 @@ asyncTest("CRUD object literal", 4, function() {
|
||||
|
||||
var key = 'type_asdf';
|
||||
var data = {
|
||||
name : 'testName',
|
||||
type : 'testType'
|
||||
name: 'testName',
|
||||
type: 'testType'
|
||||
};
|
||||
|
||||
// create
|
||||
@ -31,7 +31,7 @@ asyncTest("CRUD object literal", 4, function() {
|
||||
equal(data.name, read.name, 'Create, Read');
|
||||
|
||||
// list all
|
||||
lawnchairdao_test.jsonDao.list('type',0 ,null, function(list) {
|
||||
lawnchairdao_test.jsonDao.list('type', 0, null, function(list) {
|
||||
ok(list.length === 1, 'List');
|
||||
|
||||
// update
|
||||
|
Loading…
Reference in New Issue
Block a user