2014-01-19 14:34:01 +00:00
|
|
|
require 'chefspec'
|
|
|
|
require 'chefspec/berkshelf'
|
|
|
|
require 'pry'
|
2014-01-21 22:11:25 +00:00
|
|
|
require 'fauxhai'
|
2014-01-19 14:34:01 +00:00
|
|
|
|
|
|
|
RSpec.configure do |config|
|
|
|
|
config.color_enabled = true
|
|
|
|
config.tty = true
|
|
|
|
config.formatter = :documentation
|
|
|
|
config.treat_symbols_as_metadata_keys_with_true_values = true
|
|
|
|
config.filter_run :focus => true
|
|
|
|
config.run_all_when_everything_filtered = true
|
|
|
|
config.role_path = 'roles'
|
|
|
|
end
|
|
|
|
|
|
|
|
#at_exit { ChefSpec::Coverage.report! }
|