mirror of
https://github.com/Dahlgren/arma-server-web-admin.git
synced 2024-08-30 17:22:10 +00:00
13 lines
330 B
JavaScript
13 lines
330 B
JavaScript
var should = require('should');
|
|
|
|
var Server = require('../../lib/server.js');
|
|
|
|
describe('Server', function() {
|
|
describe('toJSON()', function() {
|
|
it('should include title', function() {
|
|
var server = new Server(null, null, {title: 'test'});
|
|
server.toJSON().should.have.property('title', 'test');
|
|
});
|
|
});
|
|
});
|