discord-kagebot/src/test/kotlin/moe/kageru/kagebot/ConfigTest.kt

15 lines
378 B
Kotlin
Raw Normal View History

2019-06-08 21:14:57 +02:00
package moe.kageru.kagebot
import io.kotlintest.shouldBe
2019-06-08 21:52:47 +02:00
import io.kotlintest.shouldNotBe
import io.kotlintest.specs.StringSpec
class ConfigTest : StringSpec({
TestUtil.prepareTestEnvironment()
"should properly parse test config" {
Globals.config shouldNotBe null
2019-07-07 14:19:13 +02:00
Globals.systemConfig shouldNotBe null
Globals.commands.size shouldBe 2
}
2019-07-13 14:52:05 +02:00
})