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

- old
+ new

@@ -1,13 +1,19 @@ require 'test/unit' require File.dirname(__FILE__) + '/../lib/roo' - # helper method - def after(d) - yield if DateTime.now > d - end +# helper method +def after(d) + yield if DateTime.now > d +end - # helper method - def before(d) - yield if DateTime.now <= d - end +# helper method +def before(d) + yield if DateTime.now <= d +end +# helper method +def local_only + if ENV["roo_local"] == "thomas-p" or true #TODO: + yield + end +end \ No newline at end of file