Sha256: 629bf936c02884fb862ae42175c1c361f9d746304fe059aec32388a28261fb59
Contents?: true
Size: 357 Bytes
Versions: 37
Compression:
Stored size: 357 Bytes
Contents
shared_examples_for "a string-only command" do it "raises an error for non-string values" do key = "mock-redis-test:string-only-command" method = method_from_description args = args_for_method(method).unshift(key) @redises.lpush(key, 1) lambda do @redises.send(method, *args) end.should raise_error(RuntimeError) end end
Version data entries
37 entries across 37 versions & 2 rubygems