spec/connection_spec.rb in fakeredis-0.6.0 vs spec/connection_spec.rb in fakeredis-0.7.0
- old
+ new
@@ -68,10 +68,10 @@
expect(@client1.get("key1")).to eq("one")
end
it "should not error with a disconnected client" do
@client1 = Redis.new
- @client1.client.disconnect
+ @client1.close
expect(@client1.get("key1")).to be_nil
end
it "should echo the given string" do
expect(@client.echo("something")).to eq("something")