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