2013-05-26 21:17:46 +04:00
|
|
|
/*globals describe, beforeEach, it*/
|
|
|
|
|
|
|
|
(function () {
|
|
|
|
"use strict";
|
|
|
|
|
|
|
|
var should = require('should'),
|
|
|
|
Ghost = require('../../ghost');
|
|
|
|
|
|
|
|
describe("Ghost API", function () {
|
|
|
|
|
2013-05-26 22:51:58 +04:00
|
|
|
it("is a singleton", function () {
|
2013-05-26 21:17:46 +04:00
|
|
|
var ghost1 = new Ghost(),
|
|
|
|
ghost2 = new Ghost();
|
|
|
|
|
|
|
|
should.strictEqual(ghost1, ghost2);
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}());
|