Files
puppet-openstackci/spec/acceptance/basic_spec.rb
Spencer Krum cdc03e1cc8 Add beaker boilerplate to openstackci
Updated for suggestions from crinkle. Left spec_helper_acceptance alone
because jeblair's change is the right place to make that modification.

Change-Id: Ic1aa2a0a78ea74661e95399e1e6393af5cf687b0
2015-07-03 10:59:26 -07:00

25 lines
504 B
Ruby
Executable File

require 'spec_helper_acceptance'
describe 'basic openstackci' do
if fact('osfamily') == 'Debian'
context 'default parameters' do
it 'should work with no errors' do
base_path = File.dirname(__FILE__)
pp_path = File.join(base_path, 'fixtures', 'default.pp')
pp = File.read(pp_path)
# Run it twice and test for idempotency
apply_manifest(pp, :catch_failures => true)
apply_manifest(pp, :catch_changes => true)
end
end
end
end