From 865696205ee36202c6719cbf347d481a88672625 Mon Sep 17 00:00:00 2001 From: Matijs van Zuijlen Date: Wed, 8 Nov 2017 16:53:17 +0100 Subject: [PATCH] Try yet another quoting style :-( --- spec/aruba/matchers/command_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/aruba/matchers/command_spec.rb b/spec/aruba/matchers/command_spec.rb index 515047026..b39fa3a32 100644 --- a/spec/aruba/matchers/command_spec.rb +++ b/spec/aruba/matchers/command_spec.rb @@ -71,7 +71,7 @@ def announcer(*args) end context 'when have output hello world on stderr' do - let(:cmd) { "ruby -e \"warn '#{output}'\"" } + let(:cmd) { "ruby -e \"warn %(#{output})\"" } before(:each) { run_command(cmd) } @@ -95,7 +95,7 @@ def announcer(*args) end context 'when have output hello world on stderr' do - let(:cmd) { "ruby -e \"warn '#{output}'\"" } + let(:cmd) { "ruby -e \"warn %(#{output})\"" } before(:each) { run_command(cmd) } @@ -119,7 +119,7 @@ def announcer(*args) end context 'when have output hello world on stderr' do - let(:cmd) { "ruby -e \"warn '#{output}'\"" } + let(:cmd) { "ruby -e \"warn %(#{output})\"" } before(:each) { run_command(cmd) }