Ghost/core/test/ghost/test-dataProvider.json.js

16 lines
388 B
JavaScript
Raw Normal View History

2013-05-11 20:44:25 +04:00
/*global require, module */
(function () {
"use strict";
var DataProvider = require('../../shared/models/dataProvider.json');
module.exports = {
'singleton': function (test) {
var provider1 = new DataProvider(),
provider2 = new DataProvider();
test.equal(provider1, provider2);
test.done();
}
};
}());