spec/commands/del_spec.rb in mock_redis-0.16.1 vs spec/commands/del_spec.rb in mock_redis-0.17.0
- old
+ new
@@ -6,10 +6,11 @@
@redises.set('mock-redis-test:2', 1)
@redises.del(
'mock-redis-test:1',
'mock-redis-test:2',
- 'mock-redis-test:other').should == 2
+ 'mock-redis-test:other'
+ ).should == 2
end
it 'actually removes the key' do
@redises.set('mock-redis-test:1', 1)
@redises.del('mock-redis-test:1')