Download:
child 3:c2023ec9fa6a
parent 1:953d380d3035
2:e1d4f3c5b403
Anton Shestakov <engored@ya.ru>, Wed, 05 Dec 2012 02:41:55 +0900
Typos and missing vars in tests.

2 файлов изменено, 3 вставок(+), 3 удалений(-) [+]
test/basic-filters.js file | annotate | diff | comparison | revisions
test/sensible-filters.js file | annotate | diff | comparison | revisions
--- a/test/basic-filters.js Wed Dec 05 01:27:51 2012 +0900
+++ b/test/basic-filters.js Wed Dec 05 02:41:55 2012 +0900
@@ -48,7 +48,7 @@
equal(shard.size(), 0, '... and the shard is empty');
otherCol.reset([a, b, c]);
- equal(resets, 1, 'resettings collection triggers reset events');
+ equal(resets, 1, 'resetting collection triggers reset events');
equal(shard.size(), 0, '... and the shard is empty');
});
--- a/test/sensible-filters.js Wed Dec 05 01:27:51 2012 +0900
+++ b/test/sensible-filters.js Wed Dec 05 02:41:55 2012 +0900
@@ -1,4 +1,4 @@
-var a, b, c, col, otherCol;
+var a, b, c, d, col, otherCol;
module('Backbone.Shard', {
setup: function() {
@@ -53,6 +53,6 @@
equal(shard.size(), 0, '... and the shard is empty');
otherCol.reset([a, b, c, d]);
- equal(resets, 1, 'resettings collection triggers reset events');
+ equal(resets, 1, 'resetting collection triggers reset events');
equal(shard.size(), 2, '... and the shard has 2 items');
});