spec/spec_helper.rb in vmc-0.5.0.beta.5 vs spec/spec_helper.rb in vmc-0.5.0.beta.6

- old
+ new

@@ -17,9 +17,13 @@ def strip_heredoc min = scan(/^[ \t]*(?=\S)/).min indent = min ? min.size : 0 gsub(/^[ \t]{#{indent}}/, '') end + + def strip_progress_dots + gsub(/\. \x08([\x08\. ]+)/, "... ") + end end def with_output_to(output = StringIO.new) old_out = $stdout old_err = $stderr