Skip to content

Commit 73c39af

Browse files
committed
test(command_spec): fix rubocop violation [skip ci]
* https://gitlab.com/myii/postgres-formula/-/pipelines/249943423
1 parent 53d1ac5 commit 73c39af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: test/integration/default/controls/command_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
title 'should match desired lines'
99

1010
# Can't use `%Q` here due to the `\`
11-
describe command("su - postgres -c 'psql -p" + pg_port + %q( -qtc "\l+ db2"')) do
11+
describe command("su - postgres -c 'psql -p#{pg_port} -qtc \"\\l+ db2\"'") do
1212
its(:stdout) do
1313
should match(
1414
/db2.*remoteUser.*UTF8.*en_US.UTF-8.*en_US.UTF-8.*my_space/

0 commit comments

Comments
 (0)