RiotGames/berkshelf — pull request #204 by bluepojo (2012-11-12 01:53:07+00:00)
Title: Check if options are supported (addresses Issue #170)

This checks options provided to the cookbook generator to provide warning messages if the gem supporting the option is not installed.

Non-gem-related options are not covered by this PR (at the moment, --skip-git is the only such option).

Also, because vagrant is a dependency of berkshelf, I did not include a check for vagrant as berkshelf will always see it as available.

Further, I couldn't find a way not to have bundler available during a test run, so the test for that is still pending. Advice would be appreciated for that.

Finally, I refactored the tests for cookbook_command to use Scenario Outline.