Sha256: 28a16487051a793474d5e3a92067f2187d59cab5eab6b39b43e24297cb42226f

Contents?: true

Size: 778 Bytes

Versions: 10

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 'chef_handler', :locked_version => '1.0.6'
      cookbook 'windows', :locked_version => '1.3.0'
      """

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
berkshelf-0.3.3 features/update.feature
berkshelf-0.3.2 features/update.feature
berkshelf-0.3.1 features/update.feature
berkshelf-0.3.0 features/update.feature
berkshelf-0.2.0 features/update.feature
berkshelf-0.1.5 features/update.feature
berkshelf-0.1.4 features/update.feature
berkshelf-0.1.3 features/update.feature
berkshelf-0.1.2 features/update.feature
berkshelf-0.1.1 features/update.feature