Sha256: 5d248bdaf5cfd8f080768e7e0b74c8c96e7ac709bedd4c07365c4e06025ef461

Contents?: true

Size: 682 Bytes

Versions: 8

Compression:

Stored size: 682 Bytes

Contents

Feature: Friendly error messages
  As a CLI user
  I want to have friendly human readable error messages
  So I can identify what went wrong without ambiguity

  Scenario: running without a Cookbookfile
    When I run `knife cookbook dependencies install`
    Then the output should contain "FATAL: There is no Cookbookfile in "

  Scenario: when missing a cookbook
    Given I write to "Cookbookfile" with:
    """
    cookbook "doesntexist"
    """
    When I run `knife cookbook dependencies install`
    Then the output should contain "FATAL: The cookbook doesntexist was not found on the Opscode Community site. Provide a git or path key for doesntexist if it is unpublished."

Version data entries

8 entries across 8 versions & 2 rubygems

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