Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Wise committed Sep 12, 2016
1 parent f7313ee commit 68a5c28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/11.database.close.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ describe('Database#close()', function () {
expect(db.open).to.be.false;
});
});
describe('because of a failed open attempt', function (done) {
it('should have an Error object as its first parameter', function () {
describe('because of a failed open attempt', function () {
it('should have an Error object as its first parameter', function (done) {
var db = new Database('temp/nonexistent/abcfoobar123/11.2.db');
db.on('open', function () {
done(new Error('This event should not have been fired.'));
Expand Down

0 comments on commit 68a5c28

Please sign in to comment.