Fix spec
This commit is contained in:
parent
461d709c87
commit
34eec88c6c
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue