discord-kagebot/src/test/kotlin/moe/kageru/kagebot/ConfigTest.kt
kageru 120079ba3d
fixed all unit tests
also added a new one I noticed was missing
2019-06-14 23:16:31 +02:00

13 lines
343 B
Kotlin

package moe.kageru.kagebot
import io.kotlintest.shouldBe
import io.kotlintest.shouldNotBe
import io.kotlintest.specs.StringSpec
class ConfigTest : StringSpec({
TestUtil.prepareTestEnvironment()
"should properly parse test config" {
Globals.config shouldNotBe null
Globals.config.commands shouldBe emptyList()
}
})