Skip to content
Snippets Groups Projects
Commit 906d590a authored by Clement Ho's avatar Clement Ho
Browse files

Fix spec

Former-commit-id: 34eec88c
parent 99d1f84b
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment