Fixed regression test

no issue

- html to plaintext was broken with c219446f85 . Ghost's API supports html intpu format only for version above v8
This commit is contained in:
Nazar Gargol 2019-04-03 10:58:36 +08:00
parent dd619789cb
commit b7224ef1b0

View File

@ -173,6 +173,11 @@ describe('Posts API', function () {
});
it('html to plaintext', function () {
// NOTE: only supported in node v8 and higher
if (process.version.startsWith('v6.')) {
this.skip();
}
return request
.get(localUtils.API.getApiQuery(`posts/${testUtils.DataGenerator.Content.posts[0].id}/`))
.set('Origin', config.get('url'))