From 8da2a179298fcdd8c4f2d74def0e4651dc207f48 Mon Sep 17 00:00:00 2001 From: Andrew Stewart Date: Fri, 14 Nov 2014 11:01:57 -0800 Subject: [PATCH] Fix broken test --- spec/lib/basestar.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/lib/basestar.spec.js b/spec/lib/basestar.spec.js index 35dcda6..5e004aa 100644 --- a/spec/lib/basestar.spec.js +++ b/spec/lib/basestar.spec.js @@ -146,7 +146,7 @@ describe('Basestar', function() { basestar.on('testevent', eventSpy); basestar.defineDriverEvent({ eventName: "testevent" }); - basestar.adaptor.emit("testevent", "data"); + basestar.connection.emit("testevent", "data"); assert(eventSpy.calledWith('data')); }); @@ -157,7 +157,7 @@ describe('Basestar', function() { basestar.on('testevent', eventSpy); basestar.defineDriverEvent("testevent"); - basestar.adaptor.emit("testevent", "data"); + basestar.connection.emit("testevent", "data"); assert(eventSpy.calledWith('data')); }); });