test/test_helper.rb in roo-1.0.2 vs test/test_helper.rb in roo-1.1.0

- old
+ new

@@ -1,2 +1,13 @@ require 'test/unit' require File.dirname(__FILE__) + '/../lib/roo' + + # helper method + def after(d) + yield if DateTime.now > d + end + + # helper method + def before(d) + yield if DateTime.now <= d + end +