Extended existing tests to include semver property (#5)
This commit is contained in:
parent
5043868fc7
commit
da087f19db
1 changed files with 3 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue