spec/hobo/helpers/shell_spec.rb in hobo-inviqa-0.0.14 vs spec/hobo/helpers/shell_spec.rb in hobo-inviqa-0.0.15
- old
+ new
@@ -15,7 +15,9 @@
it "should not display lines for which the filter block returned nil"
it "should buffer all command output in a temporary file"
it "should throw Hobo::ExternalCommandError on non-zero exit code"
it "should colour stderr output with red"
it "should set ENV args for command if specified with :env"
+ it "should strip leading and trailing whitespace in captured output"
+ it "should preserve whitespace in captured output if :strip false"
end
end