23 lines
399 B
Ruby
23 lines
399 B
Ruby
# Encoding: utf-8
|
|
require 'rspec/expectations'
|
|
require 'chefspec'
|
|
require 'chefspec/berkshelf'
|
|
require 'chef/application'
|
|
|
|
::LOG_LEVEL = :fatal
|
|
::UBUNTU_OPTS = {
|
|
platform: 'ubuntu',
|
|
version: '12.04',
|
|
log_level: ::LOG_LEVEL
|
|
}
|
|
REDHAT_OPTS = {
|
|
platform: 'redhat',
|
|
version: '6.5',
|
|
log_level: LOG_LEVEL
|
|
}
|
|
::CHEFSPEC_OPTS = {
|
|
log_level: ::LOG_LEVEL
|
|
}
|
|
|
|
at_exit { ChefSpec::Coverage.report! }
|