From b369aa9d40b3f686504876d231ce05ec05fb90ee Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Fri, 11 Oct 2019 12:52:29 +0100 Subject: [PATCH] fix(rubocop): fix remaining errors manually --- test/integration/default/controls/command_spec.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/integration/default/controls/command_spec.rb b/test/integration/default/controls/command_spec.rb index b68a47d..30046fd 100644 --- a/test/integration/default/controls/command_spec.rb +++ b/test/integration/default/controls/command_spec.rb @@ -9,6 +9,10 @@ control 'Postgres command' do # Can't use `%Q` here due to the `\` describe command("su - postgres -c 'psql -p" + pg_port + %q( -qtc "\l+ db2"')) do - its(:stdout) { should match(/db2.*remoteUser.*UTF8.*en_US.UTF-8.*en_US.UTF-8.*my_space/) } + its(:stdout) do + should match( + /db2.*remoteUser.*UTF8.*en_US.UTF-8.*en_US.UTF-8.*my_space/ + ) + end end end