only rate limit full pdf downloads

This commit is contained in:
Henry Oswald
2015-11-10 16:23:55 +00:00
parent da9535f442
commit 16670cb3e3
2 changed files with 15 additions and 16 deletions
@@ -129,9 +129,6 @@ describe "CompileController", ->
it "should proxy the PDF from the CLSI", ->
@CompileController.proxyToClsi.calledWith(@project_id, "/project/#{@project_id}/output/output.pdf", @req, @res, @next).should.equal true
it "should check the rate limiter", ->
@RateLimiter.addCount.args[0][0].throttle.should.equal 500
describe "when the pdf is not going to be used in pdfjs viewer", ->
it "should check the rate limiter when pdfng is not set", (done)->