30 lines
445 B
Lua
30 lines
445 B
Lua
--[[
|
|
Test the home page
|
|
]]
|
|
|
|
|
|
--[[
|
|
function configure(...)
|
|
local args = {...}
|
|
if args[1] == s then
|
|
c = true
|
|
end
|
|
end
|
|
]]
|
|
|
|
describe("smr",function()
|
|
describe("site home page",function()
|
|
it("detours configure",function()
|
|
local s = {}
|
|
local c = false
|
|
local oldconfigure = configure
|
|
--local index_get = require("endpoints.index_get")
|
|
--configure(s)
|
|
--assert(c)
|
|
end)
|
|
end)
|
|
describe("author home page",function()
|
|
|
|
end)
|
|
end)
|