cookbook-yum-rsyslog/test/integration/default/serverspec/default_spec.rb

16 lines
352 B
Ruby
Raw Normal View History

2016-12-08 17:36:10 -05:00
require 'spec_helper'
describe 'yum-rsyslog::default' do
describe yumrepo('rsyslog') do
it { should be_enabled }
end
describe file('/etc/yum.repos.d/rsyslog.repo') do
it { should be_file }
it { should be_mode 644 }
it { should be_owned_by 'root' }
it { should be_grouped_into 'root' }
end
end