spec/spec_helper.rb in kumogata-0.4.11 vs spec/spec_helper.rb in kumogata-0.4.12
- old
+ new
@@ -33,9 +33,15 @@
f.rewind
yield(f)
end
end
+class Proc
+ def to_s
+ "<Proc Object>"
+ end
+end
+
def run_client(command, options = {})
$stdout = open('/dev/null', 'w') unless ENV['DEBUG']
kumogata_template = options[:template]
kumogata_arguments = options[:arguments] || []