Sha256: b57cbfe6e32a9b770a1ea385dbd1dc98c63b90a8b937ea598cb9af9bc53ef363

Contents?: true

Size: 671 Bytes

Versions: 1

Compression:

Stored size: 671 Bytes

Contents

require 'spec_helper'

describe Khronos::Storage do
  subject { Khronos::Storage }

  describe 'adapters' do

    it "should identify redis adapter" do
      client = subject.new('redis://127.0.0.1:6379/0')
      client.adapter.should be_a_instance_of Khronos::Adapter::Redis
    end

    xit "should identify memcached adapter" do
      client = subject.new('memcached://127.0.0.1:6379/test')
      client.adapter.should be_a_instance_of Khronos::Adapter::Memcached
    end

    xit "should identify mongodb adapter" do
      client = subject.new('mongodb://127.0.0.1:6379/test')
      client.adapter.should be_a_instance_of Khronos::Adapter::Mongodb
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
khronos-0.0.0 spec/functional/client_spec.rb