Skip to content

Commit

Permalink
Update the tests to reflect the new changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
gmajoulet committed May 24, 2018
1 parent df0160c commit 1811a6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/amp-geo/0.1/test/test-amp-geo.js
Expand Up @@ -183,7 +183,7 @@ describes.realWin('amp-geo', {
addConfigElement('script');
geo.buildCallback();

return Services.geoForOrNull(win).then(geo => {
return Services.geoForDocOrNull(el).then(geo => {
expect(geo.ISOCountry).to.equal('nz');
expectBodyHasClass([
'amp-iso-country-nz',
Expand All @@ -202,7 +202,7 @@ describes.realWin('amp-geo', {
JSON.stringify(configWithUppercase));
geo.buildCallback();

return Services.geoForOrNull(win).then(geo => {
return Services.geoForDocOrNull(el).then(geo => {
expect(geo.ISOCountry).to.equal('nz');
expectBodyHasClass([
'amp-iso-country-nz',
Expand Down

0 comments on commit 1811a6d

Please sign in to comment.