/usr/share/puppet/modules.available/puppet-community-mcollective/spec/defines/mcollective__setting_spec.rb is in puppet-module-puppet-community-mcollective 0.6.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | require 'spec_helper'
describe 'mcollective::setting' do
context 'some_setting' do
let(:title) { 'some_setting' }
let(:params) { { :setting => 'like', :value => 'pie', :target => 'test' } }
it { should contain_datacat_fragment('mcollective::setting some_setting') }
it { should contain_datacat_fragment('mcollective::setting some_setting').with_data('like' => 'pie') }
it { should contain_datacat_fragment('mcollective::setting some_setting').with_target('test') }
end
end
|