We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f46d575 commit 67568ddCopy full SHA for 67568dd
test/connectable/create-manager.js
@@ -3,14 +3,15 @@ var Pack = require('../../');
3
4
describe('Connectable ::', function() {
5
describe('Create Manager', function() {
6
- it('should validate the connection string has a protocol', function(done) {
+
7
+ it('should work without a protocol in the connection string', function(done) {
8
Pack.createManager({
9
connectionString: 'localhost:5432/mppg'
10
})
11
.exec(function(err) {
- assert(err);
12
- assert.equal(err.exit, 'malformed');
13
-
+ if (err) {
+ return done(err);
14
+ }
15
return done();
16
});
17
0 commit comments