spec/transactions_spec.rb in fakeredis-0.8.0 vs spec/transactions_spec.rb in fakeredis-0.9.0
- old
+ new
@@ -83,10 +83,10 @@
context 'executing hash commands in a block' do
it "returns true if the nested hash command succeeds" do
responses = @client.multi { |multi| multi.hset('hash', 'key', 'value') }
- expect(responses[0]).to eq(true)
+ expect(responses[0]).to eq(1)
end
end
context 'executing set commands in a block' do
it "returns commands' responses for nested commands" do