spec/connection_spec.rb in fakeredis-0.1.4 vs spec/connection_spec.rb in fakeredis-0.2.0
- old
+ new
@@ -2,14 +2,14 @@
module FakeRedis
describe "ConnectionMethods" do
before(:each) do
- @client = FakeRedis::Redis.new
+ @client = Redis.new
end
it "should authenticate to the server" do
- @client.auth("pass").should == true
+ @client.auth("pass").should == "OK"
end
it "should echo the given string" do
@client.echo("something").should == "something"
end