This commit is contained in:
Barış Soner Uşaklı
2017-12-10 11:02:48 -05:00
parent 2565b6e542
commit 2bf275fe29
6 changed files with 45 additions and 3 deletions

View File

@@ -449,6 +449,15 @@ describe('Controllers', function () {
});
});
it('should load recent rss feed', function (done) {
request(nconf.get('url') + '/top.rss', function (err, res, body) {
assert.ifError(err);
assert.equal(res.statusCode, 200);
assert(body);
done();
});
});
it('should load popular rss feed', function (done) {
request(nconf.get('url') + '/popular.rss', function (err, res, body) {
assert.ifError(err);