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