16f7c24ba6
1) swift: The same default fact is being used in the upstream spec_helper.rb 2) fuel_unit_tests.sh: Added tty and color spec opts to provide coloreful output in Jenkins. Also fixed minor output formatting issues in the script. Change-Id: I31479ddf5f4074ff556760e9c2328944342570ab
11 lines
334 B
Ruby
11 lines
334 B
Ruby
require 'puppetlabs_spec_helper/module_spec_helper'
|
|
|
|
RSpec.configure do |c|
|
|
c.alias_it_should_behave_like_to :it_configures, 'configures'
|
|
c.before do
|
|
# avoid "Only root can execute commands as other users"
|
|
Puppet.features.stubs(:root? => true)
|
|
end
|
|
c.default_facts = { :concat_basedir => '/var/lib/puppet/concat' }
|
|
end
|