diff --git a/spec/pages_sanity_spec.lua b/spec/pages_sanity_spec.lua index fb20019..fa49a0d 100644 --- a/spec/pages_sanity_spec.lua +++ b/spec/pages_sanity_spec.lua @@ -251,6 +251,7 @@ describe("smr",function() end) it("should be named appropriately",function() local f = assert(io.open("endpoints/"..fname .. ".lua","r")) + f:close() end) it("should run without errors",function() require("endpoints." .. fname) @@ -265,7 +266,7 @@ describe("smr",function() end) it("should call http_response() at some point #slow",function() local pagefunc = require("endpoints." .. fname) - for i = 1,1000 do + for i = 1,10 do local req = {} req.method = method req.path = obj.route