spec/keys_spec.rb in fakeredis-0.1.4 vs spec/keys_spec.rb in fakeredis-0.2.0

- old
+ new

@@ -2,11 +2,11 @@ module FakeRedis describe "KeysMethods" do before(:each) do - @client = FakeRedis::Redis.new + @client = Redis.new end it "should delete a key" do @client.set("key1", "1") @client.set("key2", "2") @@ -16,9 +16,10 @@ end it "should determine if a key exists" do @client.set("key1", "1") +puts "checking existence" @client.exists("key1").should == true @client.exists("key2").should == false end it "should set a key's time to live in seconds" do