Sha256: 24637ad14a905014459fe953f758622a6f0550feecbf0c8edb0561805c627ad5

Contents?: true

Size: 737 Bytes

Versions: 1

Compression:

Stored size: 737 Bytes

Contents

Feature: update
  As a user
  I want a way to update the versions without clearing out the files I've downloaded
  So that I can update faster than a clean install

  Scenario: knife berkshelf update
    Given I write to "Berksfile" with:
      """
      cookbook "mysql", "1.3.0"
      """
    Given I write to "Berksfile.lock" with:
      """
      cookbook 'mysql', :locked_version => '0.0.1'
      cookbook 'openssl', :locked_version => '0.0.1'
      """
    When I run the update command
    Then the file "Berksfile.lock" should contain exactly:
      """
      cookbook 'mysql', :locked_version => '1.3.0'
      cookbook 'openssl', :locked_version => '1.0.0'
      cookbook 'build-essential', :locked_version => '1.1.0'
      """

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
berkshelf-0.4.0 features/update.feature