[#174,refactor][s]: rename currentRecords to records on Dataset.

This commit is contained in:
Rufus Pollock
2012-07-05 15:37:17 +01:00
parent 21296aa18c
commit a58f5e5bb0
22 changed files with 62 additions and 62 deletions

View File

@@ -29,8 +29,8 @@ test("parseCSV", function() {
backend: 'csv'
});
dataset.fetch();
equal(dataset.currentRecords.length, 3);
var row = dataset.currentRecords.models[0].toJSON();
equal(dataset.records.length, 3);
var row = dataset.records.models[0].toJSON();
deepEqual(row, {Name: 'Jones, Jay', Value: 10});
});