From cb4cefdfad2e5a9c150858d48c0429c4160b6a2a Mon Sep 17 00:00:00 2001 From: Karl Southern Date: Thu, 15 Sep 2016 21:02:05 +0100 Subject: [PATCH] More duh. --- spec/jdbc_spec_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/jdbc_spec_helper.rb b/spec/jdbc_spec_helper.rb index 9df9914..7a40111 100644 --- a/spec/jdbc_spec_helper.rb +++ b/spec/jdbc_spec_helper.rb @@ -131,7 +131,7 @@ RSpec.shared_context 'when outputting messages' do start_stop_cmd = 'sudo systemctl %s %s' end - cmd = cmd % { action: 'stop', service: systemd_database_service } + cmd = start_stop_cmd % { action: 'stop', service: systemd_database_service } `#{cmd}` # Start a thread to restart the service after the fact.