From 08db6831ce854c1aa972bfa67a99a13710ec1edd Mon Sep 17 00:00:00 2001 From: Manuel Araoz Date: Wed, 3 Sep 2014 15:08:14 -0300 Subject: [PATCH] settings: Insight.js refactor 2 --- test/test.blockchain.Insight.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/test.blockchain.Insight.js b/test/test.blockchain.Insight.js index b43003ed6..730d837f6 100644 --- a/test/test.blockchain.Insight.js +++ b/test/test.blockchain.Insight.js @@ -348,7 +348,7 @@ describe('Insight model', function() { }); describe('Events', function() { - it('should emmit event on a new block', function(done) { + it('should emit event on a new block', function(done) { var blockchain = new Insight(FAKE_OPTS); var socket = blockchain.getSocket(); blockchain.on('connect', function() { @@ -362,7 +362,7 @@ describe('Insight model', function() { }); }); - it('should emmit event on a transaction for subscribed addresses', function(done) { + it('should emit event on a transaction for subscribed addresses', function(done) { var blockchain = new Insight(FAKE_OPTS); var socket = blockchain.getSocket(); blockchain.subscribe('2NFjCBFZSsxiwWAD7CKQ3hzWFtf9DcqTucY'); @@ -378,7 +378,7 @@ describe('Insight model', function() { }); }); - it('should\'t emmit event on a transaction for non subscribed addresses', function(done) { + it('should\'t emit event on a transaction for non subscribed addresses', function(done) { var blockchain = new Insight(FAKE_OPTS); var socket = blockchain.getSocket(); blockchain.on('connect', function() { @@ -392,7 +392,7 @@ describe('Insight model', function() { }); }); - it('should emmit event on connection', function(done) { + it('should emit event on connection', function(done) { var blockchain = new Insight(FAKE_OPTS); var socket = blockchain.getSocket(); blockchain.on('connect', function() { @@ -400,7 +400,7 @@ describe('Insight model', function() { }); }); - it('should emmit event on disconnection', function(done) { + it('should emit event on disconnection', function(done) { var blockchain = new Insight(FAKE_OPTS); var socket = blockchain.getSocket(); blockchain.on('connect', function() {