Allow multiple instances of a given storage module to exist

This commit is contained in:
HirokiUchikawa
2018-05-24 21:42:40 +09:00
parent 7fafa21a1b
commit 28d05e2449
6 changed files with 157 additions and 144 deletions

View File

@@ -15,12 +15,13 @@
**/
var should = require('should');
var context = require('../../../../../red/runtime/nodes/context/memory');
var Memory = require('../../../../../red/runtime/nodes/context/memory');
describe('memory',function() {
var context;
beforeEach(function() {
context.init({});
context = Memory({});
});
describe('#get/set',function() {