Sha256: 7b83fb3ab8a4413463e42b67db1bdf1bc776974ee904f88967a5bbdb740bdf6e
Contents?: true
Size: 528 Bytes
Versions: 21
Compression:
Stored size: 528 Bytes
Contents
require 'spec_helper' describe '#sort(key, options)' do before do @key = "mock-redis-test:set_sort" @redises.sadd(@key, '1') @redises.sadd(@key, '2') @redises.set('mock-redis-test:values_1', 'a') @redises.set('mock-redis-test:values_2', 'b') @redises.set('mock-redis-test:weight_1', '2') @redises.set('mock-redis-test:weight_2', '1') @redises.hset('mock-redis-test:hash_1', 'key', 'x') @redises.hset('mock-redis-test:hash_2', 'key', 'y') end it_should_behave_like "a sortable" end
Version data entries
21 entries across 21 versions & 1 rubygems