From 05ba85ae79ad8a487a85d7caabbeb3a41d741a53 Mon Sep 17 00:00:00 2001 From: brianc Date: Wed, 27 Oct 2010 00:56:47 -0500 Subject: [PATCH] fix to pass correct 'mock' data in rowDescription event to now more demanding client --- test/unit/client/simple-query-tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/client/simple-query-tests.js b/test/unit/client/simple-query-tests.js index 92a06101..dd743fa8 100644 --- a/test/unit/client/simple-query-tests.js +++ b/test/unit/client/simple-query-tests.js @@ -77,7 +77,7 @@ test('executing query', function() { }); test('handles rowDescription message', function() { - var handled = con.emit('rowDescription',{}); + var handled = con.emit('rowDescription',{fields: [{}]}); assert.ok(handled, "should have handlded rowDescritpion"); });