Created
February 11, 2014 17:24
-
-
Save nolanlawson/8939576 to your computer and use it in GitHub Desktop.
Deliberately broken test.basics.js test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
it('update_seq persists', function(start) { | |
var name = testHelpers.name; | |
testUtils.initTestDB(name, function(err, db) { | |
db.post({test:"somestuff"}, function (err, info) { | |
new PouchDB(name, function(err, db) { | |
db.info(function(err, info) { | |
equal(info.doc_count, 2, 'Doc Count persists'); // should be 1 | |
start(); | |
}); | |
}); | |
}); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment