fixing immowelt crawler

This commit is contained in:
Christian Kellner
2018-06-10 10:50:45 +02:00
parent bb08d036af
commit acdbfd54cf
2 changed files with 6 additions and 5 deletions

View File

@@ -41,7 +41,9 @@ describe('#immowelt testsuite()', () => {
immoweltDbContent.immowelt[idx]
);
expect(notify.price).that.does.include('€');
expect(notify.size).that.does.include('m²');
if(notify.size.trim().toLowerCase() !== 'k.a.') {
expect(notify.size).that.does.include('m²');
}
expect(notify.title).to.be.not.empty;
expect(notify.link).that.does.include('https://www.immowelt.de');
expect(notify.address).to.be.not.empty;