test(command_spec): fix rubocop violation [skip ci]
* https://gitlab.com/myii/postgres-formula/-/pipelines/249943423
This commit is contained in:
@@ -8,7 +8,7 @@ control 'Postgres command' do
|
|||||||
title 'should match desired lines'
|
title 'should match desired lines'
|
||||||
|
|
||||||
# Can't use `%Q` here due to the `\`
|
# 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
|
its(:stdout) do
|
||||||
should match(
|
should match(
|
||||||
/db2.*remoteUser.*UTF8.*en_US.UTF-8.*en_US.UTF-8.*my_space/
|
/db2.*remoteUser.*UTF8.*en_US.UTF-8.*en_US.UTF-8.*my_space/
|
||||||
|
|||||||
Reference in New Issue
Block a user