Sha256: db6a30b60171d7dc22404243a6e115c785e070b1db53053f8efb3b58c927287d
Contents?: true
Size: 381 Bytes
Versions: 1
Compression:
Stored size: 381 Bytes
Contents
require 'bundler/setup' require 'rspec' require 'ssdb' # Fixture prefix FPX = "ssdb:rb:spec" RSpec.configure do |c| c.after do db = SSDB.current # Remove keys db.keys(FPX, FPX + "\xFF").each do |key| db.del(key) end # Remove zsets db.zlist(FPX, FPX + "\xFF").each do |key| db.multi_zdel key, db.zkeys(key, 0, 1_000_000) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ssdb-0.1.0 | spec/spec_helper.rb |