diff options
Diffstat (limited to 'spec/support/command_execution.rb')
-rw-r--r-- | spec/support/command_execution.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/support/command_execution.rb b/spec/support/command_execution.rb index deb84bbb2b..b3c289979f 100644 --- a/spec/support/command_execution.rb +++ b/spec/support/command_execution.rb @@ -2,8 +2,6 @@ module Spec CommandExecution = Struct.new(:command, :working_directory, :exitstatus, :stdout, :stderr) do - include RSpec::Matchers::Composable - def to_s c = Shellwords.shellsplit(command.strip).map {|s| s.include?("\n") ? " \\\n <<EOS\n#{s.gsub(/^/, " ").chomp}\nEOS" : Shellwords.shellescape(s) } c = c.reduce("") do |acc, elem| |