-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update bundler and minimize dependency scopes
also added a placeholder test
- Loading branch information
Showing
3 changed files
with
27 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
org.gradle.parallel=true | ||
|
||
spinnakerGradleVersion=7.5.2 | ||
spinnakerGradleVersion=7.11.6 | ||
pf4jVersion=3.2.0 | ||
korkVersion=7.37.0 | ||
orcaVersion=8.3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
spring-example-orca/src/test/kotlin/io/armory/plugin/example/spring/NewServiceTest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package io.armory.plugin.example.spring | ||
|
||
import com.netflix.spinnaker.orca.capabilities.CapabilitiesService | ||
import dev.minutest.junit.JUnit5Minutests | ||
import dev.minutest.rootContext | ||
import strikt.api.expectThat | ||
import strikt.assertions.isEqualTo | ||
|
||
class NewServiceTest : JUnit5Minutests { | ||
|
||
class StubCapabilitiesService : CapabilitiesService(null, null) | ||
|
||
fun tests() = rootContext { | ||
test("execute new service") { | ||
expectThat(NewService(StubCapabilitiesService(), NewProperties()).test()) | ||
.isEqualTo( | ||
listOf("new service", "works") | ||
) | ||
} | ||
} | ||
} |