spec/server_spec.rb in fakeredis-0.8.0 vs spec/server_spec.rb in fakeredis-0.9.0

- old
+ new

@@ -43,16 +43,16 @@ @client.set("key4", "4") @client.set("key5", "5") @client.select(0) expect(@client.dbsize).to eq(2) - expect(@client.exists("key1")).to be true - expect(@client.exists("key3")).to be false + expect(@client.exists?("key1")).to be true + expect(@client.exists?("key3")).to be false @client.select(1) expect(@client.dbsize).to eq(3) - expect(@client.exists("key4")).to be true - expect(@client.exists("key2")).to be false + expect(@client.exists?("key4")).to be true + expect(@client.exists?("key2")).to be false @client.flushall expect(@client.dbsize).to eq(0) @client.select(0)