summaryrefslogtreecommitdiff
path: root/spec/support/helpers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/helpers.rb')
-rw-r--r--spec/support/helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/helpers.rb b/spec/support/helpers.rb
index f743e4b134..a1c202f45e 100644
--- a/spec/support/helpers.rb
+++ b/spec/support/helpers.rb
@@ -79,7 +79,7 @@ module Spec
def sys_exec(cmd, expect_err = false)
require "open3"
- @in, @out, @err = Open3.popen3(cmd)
+ @in, @out, @err = Open3.popen3(cmd.to_s)
yield @in if block_given?