Sha256: efe948c2358d8e6511bf955c66eb42b1a3dceea518415905231a3039a48dc3db

Contents?: true

Size: 1008 Bytes

Versions: 6

Compression:

Stored size: 1008 Bytes

Contents

Feature: Clean
  As a user
  I want to be able to clean all the files downloaded/created by kcd
  So that I can be sure previous runs are not messing up my current action 
    and so I can get rid of installations I don't want any more

  Scenario: knife cookbook dependencies clean
    Given I write to "Cookbookfile" with:
    """
    cookbook "mysql"
    """
    When I run `knife cookbook dependencies install`
    And I run `knife cookbook dependencies clean`
    Then the following directories should not exist:
    | cookbooks |
    And the file "Cookbookfile.lock" should not exist
    And the temp directory should not exist

  Scenario: knife cookbook deps clean
    Given I write to "Cookbookfile" with:
    """
    cookbook "mysql"
    """
    When I run `knife cookbook deps install`
    And I run `knife cookbook deps clean`
    Then the following directories should not exist:
    | cookbooks |
    And the file "Cookbookfile.lock" should not exist
    And the temp directory should not exist

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
knife_cookbook_dependencies_over_http-0.0.8.3 features/clean.feature
knife_cookbook_dependencies_over_http-0.0.8.2 features/clean.feature
knife_cookbook_dependencies_over_http-0.0.8.1 features/clean.feature
knife_cookbook_dependencies_over_http-0.0.8 features/clean.feature
knife_cookbook_dependencies-0.0.8 features/lib/chef/knife/clean.feature
knife_cookbook_dependencies-0.0.7 features/lib/chef/knife/clean.feature