[refactor][xs]: rename docCount to recordCount.

This commit is contained in:
Rufus Pollock
2012-07-01 09:01:21 +01:00
parent f06b9ad1b1
commit b9555cce6a
5 changed files with 9 additions and 9 deletions

View File

@@ -280,7 +280,7 @@ test("query", function() {
dataset.fetch().done(function(dataset) {
deepEqual(['_created', '_last_modified', 'end', 'owner', 'start', 'title'], _.pluck(dataset.fields.toJSON(), 'id'));
dataset.query().then(function(recList) {
equal(3, dataset.docCount);
equal(3, dataset.recordCount);
equal(3, recList.length);
equal('Note 1', recList.models[0].get('title'));
start();