Sha256: 2e7ffd9c4eea6ac86487d2aac0753b129507804d075f624e42337a494966be14
Contents?: true
Size: 1.88 KB
Versions: 17
Compression:
Stored size: 1.88 KB
Contents
Feature: cookbook command As a Cookbook author I want a way to quickly generate a Cookbook skeleton that contains supporting Berkshelf files So I can quickly and automatically generate a Cookbook containing Berkshelf supporting files or other common supporting files Scenario: creating a new cookbook skeleton When I run the cookbook command to create "sparkle_motion" Then I should have a new cookbook skeleton "sparkle_motion" And the exit status should be 0 Scenario Outline: creating a new cookbook skeleton with affirmative options When I run the cookbook command to create "sparkle_motion" with options: | --<option> | Then I should have a new cookbook skeleton "sparkle_motion" with <feature> support And the exit status should be 0 Examples: | option | feature | | foodcritic | Foodcritic | | scmversion | SCMVersion | | no-bundler | no Bundler | | skip-git | no Git | | skip-vagrant | no Vagrant | Scenario Outline: creating a new cookbook skeleton with options without the supporting gem installed When I run the cookbook command to create "sparkle_motion" with options: | --<option> | Then I should have a new cookbook skeleton "sparkle_motion" with <feature> support And the output should contain a warning to suggest supporting the option "<option>" by installing "<gem>" And the exit status should be 0 Examples: | option | feature | gem | | foodcritic | Foodcritic | foodcritic | | scmversion | SCMVersion | thor-scmversion | # | no-bundler | no Bundler | bundler | @pending Scenario: creating a new cookbook skeleton with bundler support without bundler installed Given pending "Bundler is used in tests, so it always appears available. Need to mock out the Gem::Specification.find_by_name, but aruba is out of process testing."
Version data entries
17 entries across 17 versions & 1 rubygems