Renamed test methods to match the new api naming convention

This commit is contained in:
Noorul Islam K M 2013-09-16 18:43:27 +05:30 committed by Ignasi Barrera
parent 58784cc492
commit 15b1da6014
1 changed files with 2 additions and 2 deletions

View File

@ -468,13 +468,13 @@ public abstract class BaseChefApiLiveTest<A extends ChefApi> extends BaseChefLiv
}
@Test(dependsOnMethods = "testCreateEnvironment")
public void testListEnvironmentRecipes() {
public void testListRecipesInEnvironment() {
Set<String> recipeList = api.listRecipesInEnvironment(PREFIX);
assertTrue(!recipeList.isEmpty());
}
@Test(dependsOnMethods = "testCreateEnvironment")
public void testListEnvironmentNodes() {
public void testListNodesInEnvironment() {
api.deleteNode(ENV_NODE);
api.createNode(Node.builder().name(ENV_NODE).runListElement("role[" + PREFIX + "]").environment(PREFIX).build());
Node node = api.getNode(ENV_NODE);