spec/support/shared_examples/bitwise_operation.rb in fakeredis-0.8.0 vs spec/support/shared_examples/bitwise_operation.rb in fakeredis-0.9.0

- old
+ new

@@ -3,10 +3,10 @@ expect { @client.bitop(operator, "destkey") }.to raise_error(Redis::CommandError) end it "should not create destination key if nothing found" do expect(@client.bitop(operator, "dest1", "nothing_here1")).to eq(0) - expect(@client.exists("dest1")).to eq(false) + expect(@client.exists?("dest1")).to eq(false) end it "should accept operator as a case-insensitive symbol" do @client.set("key1", "foobar") @client.bitop(operator.to_s.downcase.to_sym, "dest1", "key1")