Sha256: f12b9cc1ab73e8d706816ca9dbe4ec970c15172674ab57ac1c41138720db8f4a

Contents?: true

Size: 778 Bytes

Versions: 1

Compression:

Stored size: 778 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"
      """
    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.2.6'
      cookbook 'openssl', :locked_version => '1.0.0'
      cookbook 'windows', :locked_version => '1.3.0'
      cookbook 'chef_handler', :locked_version => '1.0.6'
      """

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
berkshelf-0.3.7 features/update.feature