mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-17 10:10:31 +00:00
test(command_spec): fix rubocop
violation [skip ci]
* https://gitlab.com/myii/postgres-formula/-/pipelines/249943423
This commit is contained in:
parent
53d1ac5994
commit
73c39aff5e
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ control 'Postgres command' do
|
|||
title 'should match desired lines'
|
||||
|
||||
# Can't use `%Q` here due to the `\`
|
||||
describe command("su - postgres -c 'psql -p" + pg_port + %q( -qtc "\l+ db2"')) do
|
||||
describe command("su - postgres -c 'psql -p#{pg_port} -qtc \"\\l+ db2\"'") do
|
||||
its(:stdout) do
|
||||
should match(
|
||||
/db2.*remoteUser.*UTF8.*en_US.UTF-8.*en_US.UTF-8.*my_space/
|
||||
|
|
Loading…
Add table
Reference in a new issue