test/test_helper.rb in json_builder-3.0.7 vs test/test_helper.rb in json_builder-3.1.0
- old
+ new
@@ -6,17 +6,18 @@
dir = File.dirname(File.expand_path(__FILE__))
$LOAD_PATH.unshift dir + '/../lib'
$TESTING = true
require 'test/unit'
require 'json_builder'
+require 'tzinfo'
class Dozer
attr_accessor :value
-
+
def initialize(value)
@value = value
end
-
+
def to_builder
@value.reverse.inspect
end
end