Skip to content

Commit

Permalink
Try yet another quoting style :-(
Browse files Browse the repository at this point in the history
  • Loading branch information
mvz committed Nov 9, 2017
1 parent 18d38a8 commit 8656962
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/aruba/matchers/command_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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) }

Expand All @@ -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) }

Expand All @@ -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) }

Expand Down

0 comments on commit 8656962

Please sign in to comment.