smr/spec/home_spec.lua

30 lines
445 B
Lua
Raw Permalink Normal View History

2020-12-21 05:22:22 +01:00
--[[
Test the home page
]]
2020-12-23 07:02:02 +01:00
--[[
function configure(...)
local args = {...}
if args[1] == s then
c = true
end
end
]]
2020-12-21 05:22:22 +01:00
describe("smr",function()
describe("site home page",function()
it("detours configure",function()
local s = {}
local c = false
local oldconfigure = configure
2020-12-23 07:02:02 +01:00
--local index_get = require("endpoints.index_get")
--configure(s)
--assert(c)
2020-12-21 05:22:22 +01:00
end)
end)
describe("author home page",function()
end)
end)