Extended existing tests to include semver property (#5)

This commit is contained in:
Ronald van Eede 2019-04-15 09:29:07 +02:00 committed by Erik C. Thauvin
parent 5043868fc7
commit da087f19db

View file

@ -42,6 +42,7 @@ object SemverConfigSpec : Spek({
Scenario("Testing configs") {
val config by memoized { SemverConfig() }
val vars = listOf(
config.semverKey,
config.majorKey,
config.minorKey,
config.patchKey,
@ -52,6 +53,7 @@ object SemverConfigSpec : Spek({
config.separatorKey
)
val defaults = listOf(
SemverConfig.DEFAULT_SEMVER_KEY,
SemverConfig.DEFAULT_MAJOR_KEY,
SemverConfig.DEFAULT_MINOR_KEY,
SemverConfig.DEFAULT_PATCH_KEY,
@ -79,6 +81,7 @@ object SemverConfigSpec : Spek({
When("setting keyPrefix to test.") {
config.keysPrefix = "test."
newKeys = listOf(
config.semverKey,
config.majorKey,
config.minorKey,
config.patchKey,