Sha256: 765f9961b1ebe6eb7366db4474d266aa27da7d20b2b684ad4252ef2f0699b38c
Contents?: true
Size: 979 Bytes
Versions: 18
Compression:
Stored size: 979 Bytes
Contents
Feature: Listing cookbooks defined by a Berksfile As a user with a Berksfile I want a way to show all my cookbooks and their versions without opening my Berksfile So that I can be more productive Scenario: Running the list command Given the cookbook store has the cookbooks: | fake1 | 1.0.0 | | fake2 | 1.0.1 | Given I write to "Berksfile" with: """ cookbook 'fake1', '1.0.0' cookbook 'fake2', '1.0.1' """ When I successfully run `berks list` Then the output should contain: """ Cookbooks installed by your Berksfile: * fake1 (1.0.0) * fake2 (1.0.1) """ And the exit status should be 0 Scenario: Running the list command with no sources defined Given an empty file named "Berksfile" When I successfully run `berks list` Then the output should contain: """ There are no cookbooks installed by your Berksfile """ And the exit status should be 0
Version data entries
18 entries across 18 versions & 1 rubygems