test/integration_connection.rb in ruote-couch-2.1.1 vs test/integration_connection.rb in ruote-couch-2.1.4

- old
+ new

@@ -4,12 +4,17 @@ # # Sun Dec 13 20:22:43 JST 2009 # require 'yajl' rescue require 'json' +require 'rufus-json' Rufus::Json.detect_backend -require 'patron' rescue nil +begin + require 'patron' +rescue LoadError + # then use 'net/http' +end require 'ruote/couch/storage' def new_storage (opts)