var YAHOO = require('../../../../src/geo/geocoder/yahoo-geocoder');

describe('geo/geocoder/yahoo-geocoder', function () {
  var originalTimeout;
  beforeEach(function () {
    originalTimeout = jasmine.DEFAULT_TIMEOUT_INTERVAL;
    jasmine.DEFAULT_TIMEOUT_INTERVAL = 10000;
  });

  afterEach(function () {
    jasmine.DEFAULT_TIMEOUT_INTERVAL = originalTimeout;
  });

  it("we shouldn't get a direction that doesn't exist", function (done) {
    YAHOO.geocode('68461092610314965639', function (d) {
      expect(d.length).toEqual(0);
      done();
    });
  });
});

@@ -120,256 +120,8 @@
 ) %7B%0A
-  var originalTimeout;%0A  beforeEach(function () %7B%0A    originalTimeout = jasmine.DEFAULT_TIMEOUT_INTERVAL;%0A    jasmine.DEFAULT_TIMEOUT_INTERVAL = 10000;%0A  %7D);%0A%0A  afterEach(function () %7B%0A    jasmine.DEFAULT_TIMEOUT_INTERVAL = originalTimeout;%0A  %7D);%0A%0A
   it

Revert "Increase default timeout for yahoo geocoder."