mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-16 01:30:25 +00:00
7 lines
241 B
Ruby
7 lines
241 B
Ruby
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
|