Sha256: 5644f00d27247d605ed750b3aec8857a4c25b25476d9cf1ad10f9d01aad264b1

Contents?: true

Size: 1.49 KB

Versions: 4

Compression:

Stored size: 1.49 KB

Contents

Feature: Generate a new custom cookbook for your EY Cloud environments

  Scenario: Generate basic cookbook scaffold
    Given I am in the "rails" project folder
    When I run local executable "ey-recipes" with arguments "init"
    And file "cookbooks/main/recipes/default.rb" is created
    And file "cookbooks/main/libraries/ruby_block.rb" is created
    And I should see exactly
      """
            create  cookbooks
            create  cookbooks/main/attributes/recipe.rb
            create  cookbooks/main/definitions/ey_cloud_report.rb
            create  cookbooks/main/libraries/ruby_block.rb
            create  cookbooks/main/libraries/run_for_app.rb
            create  cookbooks/main/recipes/default.rb
      """

  Scenario: Run cookbooks during deployments
    Given I am in the "rails" project folder
    When I run local executable "ey-recipes" with arguments "init -d"
    And file "deploy/before_migrate.rb" is created
    And file "deploy/cookbooks/main/recipes/default.rb" is created
    And I should see exactly
      """
            create  deploy
            create  deploy/before_migrate.rb
            create  deploy/solo.rb
            create  deploy/cookbooks
            create  deploy/cookbooks/main/attributes/recipe.rb
            create  deploy/cookbooks/main/definitions/ey_cloud_report.rb
            create  deploy/cookbooks/main/libraries/ruby_block.rb
            create  deploy/cookbooks/main/libraries/run_for_app.rb
            create  deploy/cookbooks/main/recipes/default.rb
      """

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
engineyard-recipes-0.4.0 features/init-new-cookbook.feature
engineyard-recipes-0.3.2 features/init-new-cookbook.feature
engineyard-recipes-0.3.2.pre features/init-new-cookbook.feature
engineyard-recipes-0.3.0 features/init-new-cookbook.feature