mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-06 10:39:44 +02:00
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -53,6 +53,7 @@ describe('feeds', function () {
|
||||
nconf.get('url') + '/topic/' + tid + '.rss',
|
||||
nconf.get('url') + '/category/' + cid + '.rss',
|
||||
nconf.get('url') + '/recent.rss',
|
||||
nconf.get('url') + '/top.rss',
|
||||
nconf.get('url') + '/popular.rss',
|
||||
nconf.get('url') + '/popular/day.rss',
|
||||
nconf.get('url') + '/recentposts.rss',
|
||||
|
||||
Reference in New Issue
Block a user