We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0bf7e2 commit 4cd688fCopy full SHA for 4cd688f
1 file changed
src/test/groovy/org/arkecosystem/client/api/two/NodeTest.groovy
@@ -0,0 +1,33 @@
1
+package org.arkecosystem.client.api.two
2
+
3
+import spock.lang.Specification
4
+import org.arkecosystem.client.MockHelper
5
6
+class NodeTest extends Specification {
7
+ def "status"() {
8
+ setup:
9
+ def connection = MockHelper.connection(2)
10
+ when:
11
+ def actual = connection.api('node').status()
12
+ then:
13
+ actual.success == true
14
+ }
15
16
+ def "syncing"() {
17
18
19
20
+ def actual = connection.api('node').syncing()
21
22
23
24
25
+ def "configuration"() {
26
27
28
29
+ def actual = connection.api('node').configuration()
30
31
32
33
+}
0 commit comments