test/integration_connection.rb in ruote-couch-2.1.7 vs test/integration_connection.rb in ruote-couch-2.1.8

- old
+ new

@@ -8,11 +8,11 @@ require 'yajl' rescue require 'json' require 'rufus-json' Rufus::Json.detect_backend begin - require 'patron' + require 'patron' unless ARGV.include?('--net') rescue LoadError # then use 'net/http' end require 'ruote/couch/storage' @@ -21,8 +21,10 @@ def new_storage (opts) opts ||= {} Ruote::Couch::CouchStorage.new( - '127.0.0.1', 5984, opts.merge!('prefix' => 'test')) + '127.0.0.1', + 5984, + opts.merge!('couch_prefix' => 'test', 'couch_timeout' => 1)) end