Skip to content

Commit

Permalink
Making sure the actor ID persists
Browse files Browse the repository at this point in the history
  • Loading branch information
pgte committed Feb 10, 2011
1 parent 50a459d commit f4181b8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/unit/store.test.js
Expand Up @@ -39,6 +39,17 @@ module.exports = {
value.should.be.eql('b');
store.close(function(err) {
assert.isNull(err);
Store.open(DB_PATH, function(err, store) {
assert.isNull(err);
assert.isNotNull(store);
keyMap.get('a', function(err, value, gotVersion) {
assert.isNull(err);
gotVersion.should.eql(version);
store.close(function(err) {
assert.isNull(err);
});
});
});
});
});
});
Expand Down

0 comments on commit f4181b8

Please sign in to comment.