fuel-library/deployment/puppet/swift/spec/spec_helper.rb
Aleksandr Didenko 16f7c24ba6 Fix unit tests for swift and improve test script
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
2014-12-26 17:32:56 +02:00

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