Skip to content

Node.js based forum software built for the modern web

osd route test

Barış Soner Uşaklıca1797542270
diff --git a/test/controllers.js b/test/controllers.js
index e1568f6802..3e1000e39f 100644
--- a/test/controllers.js
+++ b/test/controllers.js
@@ -1061,6 +1061,15 @@ describe('Controllers', function () {
});
});
+ it('should return osd data', function (done) {
+ request(nconf.get('url') + '/osd.xml', function (err, res, body) {
+ assert.ifError(err);
+ assert(body);
+ done();
+ });
+ });
+
+
after(function (done) {
var analytics = require('../src/analytics');
analytics.writeData(function (err) {