Skip to content

Instantly share code, notes, and snippets.

@vimtaku
Created January 29, 2014 11:33
Show Gist options
  • Save vimtaku/8686204 to your computer and use it in GitHub Desktop.
Save vimtaku/8686204 to your computer and use it in GitHub Desktop.
--color
--format documentation
--require spec_helper
require 'chefspec'
RSpec.configure do |config|
# Specify the path for Chef Solo to find cookbooks (default: [inferred from
# the location of the calling spec file])
config.cookbook_path = 'cookbooks'
# Specify the path for Chef Solo to find roles (default: [ascending search])
#config.role_path = '/var/roles'
# Specify the Chef log_level (default: :warn)
#config.log_level = :debug
# Specify the path to a local JSON file with Ohai data (default: nil)
#config.path = 'ohai.json'
# Specify the operating platform to mock Ohai data from (default: nil)
config.platform = 'ubuntu'
# Specify the operating version to mock Ohai data from (default: nil)
config.version = '12.04'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment