test/unit/storage.rb in ruote-2.1.6 vs test/unit/storage.rb in ruote-2.1.7
- old
+ new
@@ -3,10 +3,12 @@
# testing ruote
#
# Mon Dec 14 15:03:13 JST 2009
#
+require File.join(File.dirname(__FILE__), %w[ .. test_helper.rb ])
+
begin
require 'yajl'
rescue LoadError
require 'json'
end
@@ -14,10 +16,9 @@
require 'patron'
rescue LoadError
# stick with net/http
end
-require File.join(File.dirname(__FILE__), %w[ .. test_helper.rb ])
require File.join(File.dirname(__FILE__), %w[ .. functional storage_helper.rb ])
class UtStorage < Test::Unit::TestCase