Skip to content

Commit

Permalink
Adds a missing test.
Browse files Browse the repository at this point in the history
  • Loading branch information
jails committed Dec 1, 2015
1 parent 671fe94 commit 0cb96b3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spec/suite/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,11 @@ describe("Sqlite", function() {
var gallery = cursor.next();
expect(gallery.name).toBe('updated gallery');

expect(yield schema.delete({ id: id })).toBe(true);

var cursor = yield this.connection.query('SELECT "name" FROM "gallery" WHERE "id" = ' + id);
expect(cursor.valid()).toBe(false);

yield schema.drop();
done();
}.bind(this));
Expand Down

0 comments on commit 0cb96b3

Please sign in to comment.