Sha256: 9ba6615dcde1c1331f4f3a33fa8c1f817d253e97030539ef17d260e7973d5d5c

Contents?: true

Size: 321 Bytes

Versions: 1

Compression:

Stored size: 321 Bytes

Contents

#
# testing ruote-couch
#
# Sun Dec 13 20:22:43 JST 2009
#

require 'yajl' rescue require 'json'
Rufus::Json.detect_backend

require 'patron' rescue nil

require 'ruote/couch/storage'


def new_storage (opts)

  opts ||= {}

  Ruote::Couch::CouchStorage.new(
    '127.0.0.1', 5984, opts.merge!('prefix' => 'test'))
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruote-couch-2.1.1 test/integration_connection.rb