summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel DeLeo <dan@opscode.com>2012-02-23 09:33:30 -0800
committerDaniel DeLeo <dan@opscode.com>2012-02-23 09:33:30 -0800
commit21b9f31db4e71dda88d604fd10dba7abc8d42a2f (patch)
tree606f84ff6169a2e8d48a61a6333ab7c04b16e91a
parentd67c9a9494c74e6443262024d0e46e83df1af6c6 (diff)
downloadchef-21b9f31db4e71dda88d604fd10dba7abc8d42a2f.tar.gz
fix typo in test command
-rw-r--r--spec/mixlib/shellout/shellout_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/mixlib/shellout/shellout_spec.rb b/spec/mixlib/shellout/shellout_spec.rb
index 5ee0df4999..a90d7847fe 100644
--- a/spec/mixlib/shellout/shellout_spec.rb
+++ b/spec/mixlib/shellout/shellout_spec.rb
@@ -348,7 +348,7 @@ describe Mixlib::ShellOut do
# Otherwise, we will attempt to read from the closed STDOUT pipe over and
# over again and generate lots of garbage, which will not be collected
# since we have to turn GC off to avoid segv.
- cmd = Mixlib::ShellOut.new(%q{ruby -e 'STDOUT.puts "F" * 4096; STDOUT.close; sleep 0.1 STDERR.puts "foo"; STDERR.close; sleep 0.1; exit'})
+ cmd = Mixlib::ShellOut.new(%q{ruby -e 'STDOUT.puts "F" * 4096; STDOUT.close; sleep 0.1; STDERR.puts "foo"; STDERR.close; sleep 0.1; exit'})
cmd.run_command
unclosed_pipes = cmd.send(:open_pipes)
unclosed_pipes.should be_empty