Fix typos in simple-query-tests.js

This commit is contained in:
Stephen Sugden 2012-08-19 12:20:48 -07:00
parent 66b569c3fc
commit 0205860dfd

View File

@ -82,7 +82,7 @@ test('executing query', function() {
name: 'boom' name: 'boom'
}] }]
}); });
assert.ok(handled, "should have handlded rowDescritpion"); assert.ok(handled, "should have handlded rowDescription");
}); });
test('handles dataRow messages', function() { test('handles dataRow messages', function() {
@ -116,7 +116,7 @@ test('executing query', function() {
}); });
con.emit("readyForQuery"); con.emit("readyForQuery");
//this would never actually happen //this would never actually happen
['dataRow','rowDescritpion', 'commandComplete'].forEach(function(msg) { ['dataRow','rowDescription', 'commandComplete'].forEach(function(msg) {
assert.equal(con.emit(msg), false, "Should no longer be picking up '"+ msg +"' messages"); assert.equal(con.emit(msg), false, "Should no longer be picking up '"+ msg +"' messages");
}); });
}); });