Sha256: 0dfbc6a2b6a871c48498043023d6f36d00ef8ccc635b8e72fbfede0617de9c9f
Contents?: true
Size: 450 Bytes
Versions: 2
Compression:
Stored size: 450 Bytes
Contents
begin require './spec/support/simplecov_helper' include SimpleCovHelper start_simple_cov('unit') rescue LoadError puts "Coverage disabled." end require 'modis' Modis.configure do |config| config.namespace = 'modis' end RSpec.configure do |config| config.after :each do Modis.with_connection do |connection| keys = connection.keys "#{Modis.config.namespace}:*" connection.del(*keys) unless keys.empty? end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
modis-1.3.0 | spec/spec_helper.rb |
modis-1.2.0 | spec/spec_helper.rb |