* Tests that a simple recipe (the default recipe in a cookbook without any
* configuration parameters) is correctly loaded and executed.
*/
@Test
public void testChefWithParticularRecipe() throws Exception {
ClusterSpec cookbookWithAttributes = newClusterSpecForProperties(ImmutableMap.<String, String> builder()
.put("whirr.instance-templates", "1 chef:java").put("java.url", "http://testurl")
.put("java.version", "1.5").put("java.flavor", "vanilla").build());
DryRun dryRun = launchWithClusterSpec(cookbookWithAttributes);
assertScriptPredicateOnPhase(dryRun, "bootstrap", bootstrapPredicate());