A few extra cases which should not be treated as html.

This commit is contained in:
Shane Kilkelly 2015-08-20 15:58:36 +01:00
parent ebf754904f
commit 23bd5d317c

View file

@ -108,7 +108,7 @@ describe "FileStoreController", ->
@controller.getFile @req, @res @controller.getFile @req, @res
# None of these should trigger the iOS/html logic # None of these should trigger the iOS/html logic
['x.html-is-rad', 'html.pdf', 'bare'].forEach (filename) -> ['x.html-is-rad', 'html.pdf', '.html-is-good-for-hidden-files', 'somefile'].forEach (filename) ->
describe "with filename as '#{filename}'", -> describe "with filename as '#{filename}'", ->
beforeEach -> beforeEach ->