[test][xs]: fix for DataProxy test broken by changes in e6ce2ca533cf9ef60773280e51b866504e5047f5.
This commit is contained in:
parent
3abca8c7c5
commit
2bf0f9681f
@ -295,9 +295,9 @@ test('DataProxy Backend', function() {
|
||||
});
|
||||
|
||||
dataset.fetch().done(function(dataset) {
|
||||
deepEqual(['__id__', 'date', 'price'], _.pluck(dataset.fields.toJSON(), 'id'));
|
||||
equal(null, dataset.docCount)
|
||||
dataset.query().done(function(docList) {
|
||||
deepEqual(['__id__', 'date', 'price'], _.pluck(dataset.fields.toJSON(), 'id'));
|
||||
equal(null, dataset.docCount)
|
||||
equal(10, docList.length)
|
||||
equal("1950-01", docList.models[0].get('date'));
|
||||
// needed only if not stubbing
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user