File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
rxjava3-http-client/src/test/groovy/io/micronaut/rxjava3/http/client Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ projectGroup=io.micronaut.rxjava3
44micronautDocsVersion =2.0.0
55micronautVersion =3.3.0
66
7- micronautTestVersion =3.0.2
7+ micronautTestVersion =3.0.5
88
9- groovyVersion =3.0.9
9+ groovyVersion =3.0.10
1010spockVersion =2.0-groovy-3.0
1111
1212rxJava3Version =3.1.3
Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ import spock.lang.Specification
44import spock.util.concurrent.PollingConditions
55
66class RxClientCloseSpec extends Specification {
7- def " confirm RxHttpClient can be stopped" () {
7+ void " confirm RxHttpClient can be stopped" () {
88 given :
9- def client = Rx3HttpClient . create(new URL (" http://localhost" ))
9+ Rx3HttpClient client = Rx3HttpClient . create(new URL (" http://localhost" ))
1010
1111 expect :
1212 client. isRunning()
@@ -19,15 +19,16 @@ class RxClientCloseSpec extends Specification {
1919 }
2020 }
2121
22- def " confirm RxHttpClient can be closed" () {
22+ void " confirm RxHttpClient can be closed" () {
2323 given :
24- def client = Rx3HttpClient . create(new URL (" http://localhost" ))
24+ Rx3HttpClient client = Rx3HttpClient . create(new URL (" http://localhost" ))
2525
2626 expect :
2727 client. isRunning()
2828
2929 when :
3030 client. close()
31+
3132 then :
3233 new PollingConditions (). eventually {
3334 ! client. isRunning()
You can’t perform that action at this time.
0 commit comments