We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87a598e commit 72b6ae8Copy full SHA for 72b6ae8
test/integration/cis/run_spec.rb
@@ -11,7 +11,7 @@
11
# => Audit Rules should have some Content
12
describe file('/etc/audit/audit.rules') do
13
it { should be_file }
14
- its('content') { should match(%r{-a always,exit -F arch=b32 -S init_module -S delete_module -k modules}) }
+ its('content') { should match(/-a always,exit -F arch=b32 -S init_module -S delete_module -k modules/) }
15
end
16
17
@@ -30,5 +30,5 @@
30
it { should be_owned_by 'root' }
31
it { should be_grouped_into 'root' }
32
its('mode') { should cmp '0640' }
33
- its('content') { should match(%r{\# This file is managed using Chef.}) }
+ its('content') { should match(/\# This file is managed using Chef./) }
34
0 commit comments