Sha256: 8d8ac0df392bbed027d7c016c4676fc0aec14efd04d0d0181bad9d8522ca4150
Contents?: true
Size: 1.64 KB
Versions: 3
Compression:
Stored size: 1.64 KB
Contents
Feature: Generate package recipe I want to generate a new chef recipe for a package And it is automatically included in the main recipe/run Background: Given I am in the "rails" project folder When I run local executable "ey-recipes" with arguments "init" Scenario: Generate a new recipe When I run local executable "ey-recipes" with arguments "recipe new-component" And file "cookbooks/new-component/recipes/default.rb" is created And file "cookbooks/new-component/recipes/default.rb" contains "require_recipe 'new-component::install'" And file "cookbooks/new-component/recipes/install.rb" is created And file "cookbooks/new-component/attributes/recipe.rb" is created And file "cookbooks/main/recipes/default.rb" contains "require_recipe 'new-component'" And I should see exactly """ exist cookbooks create cookbooks/new-component/attributes/recipe.rb create cookbooks/new-component/recipes/default.rb create cookbooks/new-component/recipes/install.rb append cookbooks/main/recipes/default.rb """ Scenario: Generate a recipe that already exists When I run local executable "ey-recipes" with arguments "recipe new-component" When I run local executable "ey-recipes" with arguments "recipe new-component" And I should see exactly """ exist cookbooks identical cookbooks/new-component/attributes/recipe.rb identical cookbooks/new-component/recipes/default.rb identical cookbooks/new-component/recipes/install.rb append cookbooks/main/recipes/default.rb """
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
engineyard-recipes-0.1.1 | features/generate-recipe.feature |
engineyard-recipes-0.1.0 | features/generate-recipe.feature |
engineyard-recipes-0.0.3 | features/generate-recipe.feature |