From 987474b014a853a02bd678fe92ae4fe3b34d803d Mon Sep 17 00:00:00 2001 From: David Dias Date: Sun, 6 Sep 2015 14:38:38 +0100 Subject: [PATCH] it works --- tests/base-test.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tests/base-test.js b/tests/base-test.js index 75ccfd9..ba8d22c 100644 --- a/tests/base-test.js +++ b/tests/base-test.js @@ -71,8 +71,13 @@ module.exports.all = function (test, common) { recordStore.put('bananas', mdagObj_record_signature, function (err) { t.ifError(err, 'Should not throw') - t.pass('record was stored successfully') - t.end() + recordStore.get('bananas', function (err, records) { + t.ifError(err, 'Should not throw') + t.equal(records.length, 1) + t.pass('record was stored successfully') + t.end() + }) + }) }) })