Sha256: 394a7c41b22d8b69d3bfb685d6aff85daf5a7dc999451538aa0377d6b847992c

Contents?: true

Size: 357 Bytes

Versions: 3

Compression:

Stored size: 357 Bytes

Contents

#
# testing ruote
#
# since Mon Oct  9 22:19:44 JST 2006
#

require File.join(File.dirname(__FILE__), 'path_helper')

require 'test/unit'
require 'rubygems'


def require_json
  begin
    require 'yajl'
  rescue LoadError
    require 'json'
  end
end

def require_patron
  begin
    require 'patron'
  rescue LoadError
    # stick with net/http
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruote-2.1.10 test/test_helper.rb
ruote-2.1.9 test/test_helper.rb
ruote-2.1.8 test/test_helper.rb