Created
January 29, 2014 11:33
-
-
Save vimtaku/8686204 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--color | |
--format documentation | |
--require spec_helper |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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