Sha256: 1bf21012d4fbbbcf9715a17f7c568a3067feb0d657c124cbd8359a14b947223f

Contents?: true

Size: 724 Bytes

Versions: 7

Compression:

Stored size: 724 Bytes

Contents

Feature: --without block
  As a user
  I want to be able to exclude blocks in my Berksfile
  So I can have cookbooks organized for use in different situations in a single Berksfile

  @slow_process
  Scenario: Exclude a block
    Given I write to "Berksfile" with:
      """
      group :notme do
        cookbook "nginx", "= 0.101.2"
      end
      
      cookbook "mysql", "= 1.2.4"

      group :takeme do
        cookbook "ntp", "= 1.1.8"
      end
      """
    When I run the install command with flags:
      | --without notme |
    Then the cookbook store should have the cookbooks:
      | mysql | 1.2.4 |
      | ntp   | 1.1.8 |
    And the cookbook store should not have the cookbooks:
      | nginx | 0.101.2 |

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
berkshelf-0.4.0 features/without.feature
berkshelf-0.4.0.rc4 features/without.feature
berkshelf-0.4.0.rc3 features/without.feature
berkshelf-0.4.0.rc2 features/without.feature
berkshelf-0.4.0.rc1 features/without.feature
berkshelf-0.3.7 features/without.feature
berkshelf-0.3.3 features/without.feature