This commit is contained in:
Clement Ho 2016-11-18 22:47:10 -06:00
parent 461d709c87
commit 34eec88c6c
1 changed files with 2 additions and 2 deletions

View File

@ -35,9 +35,9 @@
external_url_formatted: 'test-url.com'
}];
spyOn(jQuery, 'getJSON').and.callFake((req, cb) => {
spyOn(jQuery, 'getJSON').and.callFake(function(req, cb) {
cb(this.ciEnvironmentsStatusData);
});
}.bind(this));
});
it('should call renderEnvironments when the environments property is set', function() {