Skip to content

Commit 67568dd

Browse files
committed
Update tests
1 parent f46d575 commit 67568dd

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

test/connectable/create-manager.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@ var Pack = require('../../');
33

44
describe('Connectable ::', function() {
55
describe('Create Manager', function() {
6-
it('should validate the connection string has a protocol', function(done) {
6+
7+
it('should work without a protocol in the connection string', function(done) {
78
Pack.createManager({
89
connectionString: 'localhost:5432/mppg'
910
})
1011
.exec(function(err) {
11-
assert(err);
12-
assert.equal(err.exit, 'malformed');
13-
12+
if (err) {
13+
return done(err);
14+
}
1415
return done();
1516
});
1617
});

0 commit comments

Comments
 (0)