12345678910111213141516171819202122 |
- require 'spec_helper_acceptance'
- describe 'ceph class' do
- context 'default parameters' do
- # Using puppet_apply as a helper
- it 'should work idempotently with no errors' do
- pp = <<-EOS
- class { 'ceph': }
- EOS
- # Run it twice and test for idempotency
- apply_manifest(pp, :catch_failures => true)
- apply_manifest(pp, :catch_changes => true)
- end
- describe package('ceph') do
- it { is_expected.to be_installed }
- end
- end
- end
|