From cd23d989cfd8610b2e21e6261a6a083b460272ff Mon Sep 17 00:00:00 2001 From: edgarsilva Date: Fri, 30 Jan 2015 15:04:14 -0600 Subject: [PATCH] Fix broken test. --- spec/lib/cylon.spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/lib/cylon.spec.js b/spec/lib/cylon.spec.js index cff8754..5e67553 100644 --- a/spec/lib/cylon.spec.js +++ b/spec/lib/cylon.spec.js @@ -67,7 +67,7 @@ describe("Cylon", function() { var API, opts, instance; beforeEach(function() { - instance = { listen: spy() }; + instance = { start: spy() }; opts = { https: false }; API = stub().returns(instance); @@ -87,8 +87,8 @@ describe("Cylon", function() { expect(Cylon.apiInstances).to.be.eql([instance]); }); - it("tells the API instance to start listening", function() { - expect(instance.listen).to.be.called; + it("tells the API instance to start", function() { + expect(instance.start).to.be.called; }); }); });