fixing ebay kleinanzeigen || fiing neubauKompass

This commit is contained in:
Christian Kellner
2018-06-10 11:17:01 +02:00
parent acdbfd54cf
commit 5ac33aa009
4 changed files with 29 additions and 38 deletions

View File

@@ -40,7 +40,6 @@ describe('#kleinanzeigen testsuite()', () => {
expect(notify.id).to.equal(
kleinanzeigenDbContent.kleinanzeigen[idx]
);
expect(notify.price).that.does.include('€');
expect(notify.size).that.does.include('m²');
expect(notify.title).to.be.not.empty;
expect(notify.link).that.does.include('https://www.ebay-kleinanzeigen.de');

View File

@@ -29,16 +29,12 @@ describe('#neubauKompass testsuite()', () => {
/** check the actual structure **/
expect(notify.id).to.be.a('string');
expect(notify.price).to.be.a('string');
expect(notify.size).to.be.a('string');
expect(notify.title).to.be.a('string');
expect(notify.link).to.be.a('string');
expect(notify.address).to.be.a('string');
/** check the values if possible **/
expect(notify.id).to.equal(neubauKompassDbContent.neubauKompass[idx]);
expect(notify.price).to.be.not.empty;
expect(notify.size).to.be.not.empty;
expect(notify.title).to.be.not.empty;
expect(notify.link).that.does.include('https://www.neubaukompass.de');
expect(notify.address).to.be.not.empty;