fix(tests): fix tests on new api

This commit is contained in:
Alexey Kasyanchuk
2021-01-05 23:35:20 +03:00
parent e3c20a6fe2
commit 4b763c9377
5 changed files with 51 additions and 56 deletions

View File

@ -23,6 +23,6 @@ describe("rutracker", () => {
assert.equal(data.poster, 'http://i44.fastpic.ru/big/2012/1018/a2/4e8740f608387b32b74c5deea72d05a2.jpg')
assert.equal(data.rutrackerThreadId, 4220109)
assert(data.description.includes('выхода'))
assert.equal(data.contentCategory, 'Главная » Рок-музыка » Зарубежный Metal » Death, Doom (lossy)')
assert.equal(data.contentCategory, 'Рок-музыка » Зарубежный Metal » Death, Doom (lossy)')
})
});