Sha256: 9e9616a328f27cbe6014e239d71537480a69050b772b75105919d847b93e34cb
Contents?: true
Size: 421 Bytes
Versions: 16
Compression:
Stored size: 421 Bytes
Contents
shared_examples_for 'does not remove empty strings on error' do it 'does not remove empty strings on error' do |example| key = 'mock-redis-test:not-a-string' method = method_from_description(example) args = args_for_method(method).unshift(key) @redises.set(key, '') lambda do @redises.send(method, *args) end.should raise_error(RuntimeError) @redises.get(key).should == '' end end
Version data entries
16 entries across 16 versions & 1 rubygems