瀏覽代碼

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

Shane Kilkelly 11 年之前
父節點
當前提交
23bd5d317c
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      services/web/test/UnitTests/coffee/FileStore/FileStoreControllerTests.coffee

+ 1 - 1
services/web/test/UnitTests/coffee/FileStore/FileStoreControllerTests.coffee

@@ -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 ->