Skip to content

Commit

Permalink
--amend
Browse files Browse the repository at this point in the history
  • Loading branch information
pabloalbizu committed Oct 27, 2016
1 parent 54cb06a commit b81a3b5
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
3 changes: 3 additions & 0 deletions tests/spec/categoryExclusionSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ describe('Category Exclusion', function () {
enableSingleRequest: function () {},
setTargeting: function () {},
collapseEmptyDivs: function () {},
addEventListener: function () {},
setCategoryExclusion: mock.setCategoryExclusion
};
};
Expand Down Expand Up @@ -172,6 +173,7 @@ describe('Category Exclusion', function () {
enableSingleRequest: function () {},
setTargeting: function () {},
collapseEmptyDivs: function () {},
addEventListener: function () {},
setCategoryExclusion: mock.setCategoryExclusion
};
};
Expand Down Expand Up @@ -211,6 +213,7 @@ describe('Category Exclusion', function () {
enableSingleRequest: function () {},
setTargeting: function () {},
collapseEmptyDivs: function () {},
addEventListener: function () {},
setCategoryExclusion: mock.setCategoryExclusion
};
};
Expand Down
7 changes: 6 additions & 1 deletion tests/spec/displayAdsSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
};
};
Expand Down
9 changes: 6 additions & 3 deletions tests/spec/targetingSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ describe('Targeting', function () {
return {
enableSingleRequest: function () {},
setTargeting: mock.setTargeting,
collapseEmptyDivs: function () {}
collapseEmptyDivs: function () {},
addEventListener: function () {}
};
};

Expand Down Expand Up @@ -56,7 +57,8 @@ describe('Targeting', function () {
return {
enableSingleRequest: function () { },
setTargeting: mock.setTargeting,
collapseEmptyDivs: function () { }
collapseEmptyDivs: function () { },
addEventListener: function () { }
};
};

Expand Down Expand Up @@ -91,7 +93,8 @@ describe('Targeting', function () {
return {
enableSingleRequest: function () {},
setTargeting: mock.setTargeting,
collapseEmptyDivs: function () {}
collapseEmptyDivs: function () {},
addEventListener: function () {}
};
};

Expand Down

0 comments on commit b81a3b5

Please sign in to comment.