diff --git a/ambari-client/groovy-client/src/test/groovy/org/apache/ambari/groovy/client/AmbariHostsTest.groovy b/ambari-client/groovy-client/src/test/groovy/org/apache/ambari/groovy/client/AmbariHostsTest.groovy index 7efb95dd075..765e3b3ea03 100644 --- a/ambari-client/groovy-client/src/test/groovy/org/apache/ambari/groovy/client/AmbariHostsTest.groovy +++ b/ambari-client/groovy-client/src/test/groovy/org/apache/ambari/groovy/client/AmbariHostsTest.groovy @@ -28,7 +28,7 @@ class AmbariHostsTest extends AbstractAmbariClientTest { def "test get host components as map when there is no cluster yet"() { given: - ambari.metaClass.getHostComponenets = { return null } + ambari.metaClass.getHostComponents = { return null } when: def result = ambari.getHostComponentsMap("host")