Sha256: a177aa3d429088e5ffa88858ad9da0bcd421e3e805398726ace378f00f3edb95
Contents?: true
Size: 421 Bytes
Versions: 7
Compression:
Stored size: 421 Bytes
Contents
require 'spec_helper' module FakeRedis describe "ConnectionMethods" do before(:each) do @client = Redis.new end it "should authenticate to the server" do @client.auth("pass").should == "OK" 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
7 entries across 7 versions & 1 rubygems