Skip to content

Commit

Permalink
Fix skipped test
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewlane committed Nov 15, 2017
1 parent d3905fe commit 0b17997
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/spec/adUnits_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 0b17997

Please sign in to comment.