Sha256: d6df8c580e08048bc5624b4825c385f5f9333b063199c0a173e8b2fcc2522a9c
Contents?: true
Size: 443 Bytes
Versions: 1
Compression:
Stored size: 443 Bytes
Contents
require 'spec_helper' module FakeRedis describe "ConnectionMethods" do before(:each) do @client = Redis.new end if fakeredis? it "should authenticate to the server" do @client.auth("pass").should == "OK" end end it "should echo the given string" do @client.echo("something").should == "something" end it "should ping the server" do @client.ping.should == "PONG" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fakeredis-0.4.1 | spec/connection_spec.rb |