features/init-sm-framework.feature in engineyard-recipes-0.2.0.pre3 vs features/init-sm-framework.feature in engineyard-recipes-0.2.0
- old
+ new
@@ -6,18 +6,23 @@
Given I am in the "rails" project folder
When I run local executable "ey-recipes" with arguments "init"
When I run local executable "ey-recipes" with arguments "init-sm"
Then file "cookbooks/sm/recipes/default.rb" contains "require_recipe 'sm::install'"
Then file "cookbooks/sm/recipes/install.rb" contains "curl -L -s https://github.com/sm/sm/tarball/master -o sm-master.tar.gz"
+ # Then file "cookbooks/main/recipes/default.rb" contains "require_recipe 'eyapi'"
+ Then file "cookbooks/main/recipes/default.rb" contains "require_recipe 'sm'"
And I should see exactly
"""
exist cookbooks
create cookbooks/sm/attributes/recipe.rb
create cookbooks/sm/recipes/default.rb
create cookbooks/sm/recipes/install.rb
append cookbooks/main/recipes/default.rb
"""
+ # create cookbooks/eyapi/attributes/recipe.rb
+ # create cookbooks/eyapi/recipes/default.rb
+ # create cookbooks/eyapi/recipes/install.rb
Scenario: Create new EY CLoud custom cookbooks with SM extensions
Given I am in the "rails" project folder
When I run local executable "ey-recipes" with arguments "init --sm"
And I should see exactly
@@ -32,5 +37,8 @@
create cookbooks/sm/attributes/recipe.rb
create cookbooks/sm/recipes/default.rb
create cookbooks/sm/recipes/install.rb
append cookbooks/main/recipes/default.rb
"""
+ # create cookbooks/eyapi/attributes/recipe.rb
+ # create cookbooks/eyapi/recipes/default.rb
+ # create cookbooks/eyapi/recipes/install.rb