|
@@ -135,7 +135,7 @@ describe "CompileController", ->
|
|
|
@req.query = {}
|
|
@req.query = {}
|
|
|
@RateLimiter.addCount.callsArgWith(1, null, true)
|
|
@RateLimiter.addCount.callsArgWith(1, null, true)
|
|
|
@CompileController.proxyToClsi = (project_id, url)=>
|
|
@CompileController.proxyToClsi = (project_id, url)=>
|
|
|
- @RateLimiter.addCount.args[0][0].throttle.should.equal 50
|
|
|
|
|
|
|
+ @RateLimiter.addCount.args[0][0].throttle.should.equal 100
|
|
|
done()
|
|
done()
|
|
|
@CompileController.downloadPdf @req, @res
|
|
@CompileController.downloadPdf @req, @res
|
|
|
|
|
|
|
@@ -144,7 +144,7 @@ describe "CompileController", ->
|
|
|
@req.query = {pdfng:false}
|
|
@req.query = {pdfng:false}
|
|
|
@RateLimiter.addCount.callsArgWith(1, null, true)
|
|
@RateLimiter.addCount.callsArgWith(1, null, true)
|
|
|
@CompileController.proxyToClsi = (project_id, url)=>
|
|
@CompileController.proxyToClsi = (project_id, url)=>
|
|
|
- @RateLimiter.addCount.args[0][0].throttle.should.equal 50
|
|
|
|
|
|
|
+ @RateLimiter.addCount.args[0][0].throttle.should.equal 100
|
|
|
done()
|
|
done()
|
|
|
@CompileController.downloadPdf @req, @res
|
|
@CompileController.downloadPdf @req, @res
|
|
|
|
|
|