mirror of
https://github.com/Insality/druid.git
synced 2025-06-27 10:27:47 +02:00
30 lines
675 B
Lua
30 lines
675 B
Lua
local mock_gui = require "deftest.mock.gui"
|
|
local mock_time = require("deftest.mock.time")
|
|
local mock_input = require("test.helper.mock_input")
|
|
local test_helper = require("test.helper.test_helper")
|
|
local druid_system = require("druid.druid")
|
|
|
|
return function()
|
|
local druid = nil
|
|
local context = test_helper.get_context()
|
|
describe("Eva lang", function()
|
|
before(function()
|
|
mock_gui.mock()
|
|
mock_time.mock()
|
|
mock_time.set(60)
|
|
druid = druid_system.new(context)
|
|
end)
|
|
|
|
after(function()
|
|
mock_gui.unmock()
|
|
mock_time.unmock()
|
|
druid:final(context)
|
|
druid = nil
|
|
end)
|
|
|
|
it("Should do something right", function()
|
|
assert(2 == 1 + 1)
|
|
end)
|
|
end)
|
|
end
|