summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test.clear.js2
-rw-r--r--test/test.set.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/test.clear.js b/test/test.clear.js
index bea8031..f0f60b1 100644
--- a/test/test.clear.js
+++ b/test/test.clear.js
@@ -87,7 +87,7 @@ suite('clear', function(){
raf(function() {
raf(function() {
assert(!write.called);
- assert(!fastdom.queue.hash[id]);
+ assert(!fastdom.batch.hash[id]);
done();
});
});
diff --git a/test/test.set.js b/test/test.set.js
index f5b2ae3..a41259a 100644
--- a/test/test.set.js
+++ b/test/test.set.js
@@ -146,10 +146,10 @@ suite('set', function() {
fastdom.write(function(){});
// Check there are four jobs stored
- assert.equal(objectLength(fastdom.queue.hash), 4);
+ assert.equal(objectLength(fastdom.batch.hash), 4);
raf(function() {
- assert.equal(objectLength(fastdom.queue.hash), 0);
+ assert.equal(objectLength(fastdom.batch.hash), 0);
done();
});
});