> @@ -483,6 +484,19 @@ public void testListNodesInEnvironment() {
>        assertTrue(!nodeList.isEmpty());
>     }
>  
> +   @Test(dependsOnMethods = "testCreateNewCookbook")
> +   public void testListCookbooksInEnvironment() throws Exception {
> +      Set<CookbookDefinition> cookbooks = 
> api.listCookbooksInEnvironment("_default");
> +      assertNotNull(cookbooks);
> +      CookbookDefinition cookbook = cookbooks.iterator().next();
> +      String cookbookName = cookbook.getName();
> +      assertNotNull(cookbookName);
> +      assertEquals(cookbookName, PREFIX);

That is a possibility. 

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-chef/pull/24/files#r6459008

Reply via email to