Revert test changes for proxied headers when requesting pdfs from clsi

This commit is contained in:
Brian Gough 2014-12-11 13:41:11 +00:00
parent 8a77d619a8
commit f005c5e8dc

View file

@ -137,12 +137,7 @@ describe "CompileController", ->
statusCode: 204
headers: { "mock": "header" }
@req.method = "mock-method"
@req.headers = {
'Mock': 'Headers',
'Range': 'should be passed - Range'
'If-Range': 'should be passed - If-Range'
'If-Modified-Since': 'should be passed - If-Modified-Since'
}
describe "user with standard priority", ->
@ -157,11 +152,6 @@ describe "CompileController", ->
method: @req.method
url: "#{@settings.apis.clsi.url}#{@url}",
timeout: 60 * 1000
headers: {
'Range': 'should be passed - Range'
'If-Range': 'should be passed - If-Range'
'If-Modified-Since': 'should be passed - If-Modified-Since'
}
)
.should.equal true
@ -185,11 +175,6 @@ describe "CompileController", ->
method: @req.method
url: "#{@settings.apis.clsi_priority.url}#{@url}",
timeout: 60 * 1000
headers: {
'Range': 'should be passed - Range'
'If-Range': 'should be passed - If-Range'
'If-Modified-Since': 'should be passed - If-Modified-Since'
}
)
.should.equal true