changed auth

This commit is contained in:
brianc 2010-09-29 23:52:57 -05:00
parent 4c27a3b974
commit c5b1d95ca0

View File

@ -6,14 +6,17 @@ assert.equal(client.user, null);
assert.equal(client.database, null);
assert.equal(client.port, 5432);
var user = 'brian';
var database = 'hello';
var client = new Client({
user: 'brian',
database: 'pgjstest',
user: 'briancarlson',
database: 'hello',
port: 321
});
assert.equal(client.user, 'brian');
assert.equal(client.database, 'pgjstest');
assert.equal(client.user, 'briancarlson');
assert.equal(client.database, 'hello');
assert.equal(client.port, 321);
client.port = 5432;