diff --git a/tests/spec/categoryExclusionSpec.js b/tests/spec/categoryExclusionSpec.js index bfbc041..b8f868a 100644 --- a/tests/spec/categoryExclusionSpec.js +++ b/tests/spec/categoryExclusionSpec.js @@ -132,6 +132,7 @@ describe('Category Exclusion', function () { enableSingleRequest: function () {}, setTargeting: function () {}, collapseEmptyDivs: function () {}, + addEventListener: function () {}, setCategoryExclusion: mock.setCategoryExclusion }; }; @@ -172,6 +173,7 @@ describe('Category Exclusion', function () { enableSingleRequest: function () {}, setTargeting: function () {}, collapseEmptyDivs: function () {}, + addEventListener: function () {}, setCategoryExclusion: mock.setCategoryExclusion }; }; @@ -211,6 +213,7 @@ describe('Category Exclusion', function () { enableSingleRequest: function () {}, setTargeting: function () {}, collapseEmptyDivs: function () {}, + addEventListener: function () {}, setCategoryExclusion: mock.setCategoryExclusion }; }; diff --git a/tests/spec/displayAdsSpec.js b/tests/spec/displayAdsSpec.js index ff6ef40..bf4fdde 100644 --- a/tests/spec/displayAdsSpec.js +++ b/tests/spec/displayAdsSpec.js @@ -10,12 +10,17 @@ describe('Display Ad units', function () { it('Refresh ads in single request with disable init load', function (done) { var mock = {}; - mock.refresh = function (param) { + mock.refresh = function (param) { }; var dummyTag = {}; dummyTag.pubads = function () { return { + enableSingleRequest: function () {}, + setTargeting: function () {}, + collapseEmptyDivs: function () {}, + disableInitialLoad: function () {}, + addEventListener: function () {}, refresh: mock.refresh }; }; diff --git a/tests/spec/targetingSpec.js b/tests/spec/targetingSpec.js index 37ed671..5dfcb08 100644 --- a/tests/spec/targetingSpec.js +++ b/tests/spec/targetingSpec.js @@ -18,7 +18,8 @@ describe('Targeting', function () { return { enableSingleRequest: function () {}, setTargeting: mock.setTargeting, - collapseEmptyDivs: function () {} + collapseEmptyDivs: function () {}, + addEventListener: function () {} }; }; @@ -56,7 +57,8 @@ describe('Targeting', function () { return { enableSingleRequest: function () { }, setTargeting: mock.setTargeting, - collapseEmptyDivs: function () { } + collapseEmptyDivs: function () { }, + addEventListener: function () { } }; }; @@ -91,7 +93,8 @@ describe('Targeting', function () { return { enableSingleRequest: function () {}, setTargeting: mock.setTargeting, - collapseEmptyDivs: function () {} + collapseEmptyDivs: function () {}, + addEventListener: function () {} }; };