Permalink
Browse files

rename synced->sync event

  • Loading branch information...
1 parent 74849ae commit c05aae607f1852952386335dfc6d88bb10d17bb1 @dominictarr dominictarr committed Dec 15, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/sync.js
View
@@ -13,13 +13,13 @@ var synced = false
var as = a.createStream({end: true, wrapper: 'json', name: 'a'})
var bs = b.createStream({end: true, wrapper: 'json', name: 'b'})
-as.on('synced', mac(function () {
+as.on('sync', mac(function () {
console.log('A SYNC!')
synced = true
t.deepEqual(a.history(), b.history())
}).once())
-bs.on('synced', mac(function () {
+bs.on('sync', mac(function () {
console.log('B SYNC!')
next(function () {
t.deepEqual(a.history(), b.history())

0 comments on commit c05aae6

Please sign in to comment.