Skip to content

Commit

Permalink
test(command_spec): fix rubocop violation [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Feb 1, 2021
1 parent 53d1ac5 commit 73c39af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/default/controls/command_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
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/
Expand Down

0 comments on commit 73c39af

Please sign in to comment.