spec/commands/mset_spec.rb in mock_redis-0.15.0 vs spec/commands/mset_spec.rb in mock_redis-0.15.1

- old
+ new

@@ -16,14 +16,14 @@ end it 'raises an error if given an odd number of arguments' do lambda do @redises.mset(@key1, 'value1', @key2) - end.should raise_error(RuntimeError) + end.should raise_error(Redis::CommandError) end it 'raises an error if given 0 arguments' do lambda do @redises.mset - end.should raise_error(RuntimeError) + end.should raise_error(Redis::CommandError) end end