spec/connection_spec.rb in fakeredis-0.4.0 vs spec/connection_spec.rb in fakeredis-0.4.1
- old
+ new
@@ -5,12 +5,14 @@
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