puppet-trove/spec/acceptance/basic_trove_spec.rb
ZhongShengping 09de2784ee Switch acceptance test to use integration classes
Change-Id: I92d8f7657c9ff097f7f23244c7452478621199ee
2018-03-15 14:28:56 +08:00

29 lines
686 B
Ruby

require 'spec_helper_acceptance'
describe 'basic trove' do
context 'default parameters' do
it 'should work with no errors' do
pp= <<-EOS
include ::openstack_integration
include ::openstack_integration::repos
include ::openstack_integration::rabbitmq
include ::openstack_integration::mysql
include ::openstack_integration::keystone
include ::openstack_integration::trove
EOS
# Run it twice and test for idempotency
apply_manifest(pp, :catch_failures => true)
apply_manifest(pp, :catch_changes => true)
end
describe port(8779) do
it { is_expected.to be_listening.with('tcp') }
end
end
end