require 'spec_helper_acceptance'

# Ensure DCCP is disabled - Section 3.5.1
describe file('/etc/modprobe.d/CIS.conf') do
    it { should be_file }
    it { should be_owned_by 'root' }
    it { should be_grouped_into 'root' }
    it { should be_mode 644 }
    its(:content) { should match /install dccp /bin/true/ }
end