test(inspec): replace serverspec with inspec tests
This commit is contained in:
7
test/integration/default/controls/command_spec.rb
Normal file
7
test/integration/default/controls/command_spec.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
control 'Postgres command' do
|
||||
title 'should match desired lines'
|
||||
|
||||
describe command(%q{su - postgres -c 'psql -qtc "\l+ db2"'}) do
|
||||
its(:stdout) { should match(/db2.*remoteUser.*UTF8.*en_US\.UTF-8.*en_US\.UTF-8.*my_space/) }
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user