mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03:00
parent
f0afbc5cc0
commit
04d0f855de
@ -16,7 +16,7 @@ describe('RSS: Generate Feed', function () {
|
|||||||
posts = _.cloneDeep(testUtils.DataGenerator.forKnex.posts);
|
posts = _.cloneDeep(testUtils.DataGenerator.forKnex.posts);
|
||||||
|
|
||||||
posts = _.filter(posts, function filter(post) {
|
posts = _.filter(posts, function filter(post) {
|
||||||
return post.status === 'published' && post.page === false;
|
return post.status === 'published' && post.type === 'post';
|
||||||
});
|
});
|
||||||
|
|
||||||
_.each(posts, function (post) {
|
_.each(posts, function (post) {
|
||||||
|
Loading…
Reference in New Issue
Block a user