From 2e4a907ecc8dfbfc85981acc22ba3cdcbcc29165 Mon Sep 17 00:00:00 2001 From: Matt Lane Date: Wed, 15 Nov 2017 11:04:14 -0500 Subject: [PATCH] Fix skipped test --- test/spec/adUnits_spec.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/spec/adUnits_spec.js b/test/spec/adUnits_spec.js index 01a4c4cd441..f15ba41eb23 100644 --- a/test/spec/adUnits_spec.js +++ b/test/spec/adUnits_spec.js @@ -82,12 +82,12 @@ describe('Publisher API _ AdUnits', function () { assert.strictEqual(bids2[1].params.placementId, '827326', 'adUnit2 bids2 params.placementId'); }); - it('both add unit should contains a transactionid.'), function() { - assert.exist(adUnit1.transationId) - assert.exist(adUnit2.transationId) + it('both add unit should contains a transactionId', function() { + assert.isString(adUnit1.transactionId); + assert.isString(adUnit2.transactionId); - assert.strictEqual(false, adUnit1.transationId === adUnit2.transationId) - } + assert.strictEqual(false, adUnit1.transactionId === adUnit2.transactionId); + }); it('the second adUnits value should be same with the adUnits that is added by $$PREBID_GLOBAL$$.addAdUnits();', function () { assert.strictEqual(adUnit2.code, '/1996833/slot-2', 'adUnit2 code');