spec/transactions_spec.rb in fakeredis-0.9.0 vs spec/transactions_spec.rb in fakeredis-0.9.1
- old
+ new
@@ -92,11 +92,11 @@
context 'executing set commands in a block' do
it "returns commands' responses for nested commands" do
@client.sadd('set', 'member1')
responses = @client.multi do |multi|
- multi.sadd('set', 'member1')
- multi.sadd('set', 'member2')
+ multi.sadd?('set', 'member1')
+ multi.sadd?('set', 'member2')
end
expect(responses).to eq([false, true])
end
end