Sha256: 11cbfe58246a4b5f64f391ea2130594ba1b072d6084dd4ddf170b68ef1c50fd7
Contents?: true
Size: 489 Bytes
Versions: 4
Compression:
Stored size: 489 Bytes
Contents
unless ENV['TRAVIS'] begin require './spec/support/simplecov_helper' include SimpleCovHelper start_simple_cov('unit') rescue LoadError puts "Coverage disabled." end 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
modis-1.4.2 | spec/spec_helper.rb |
modis-1.4.1-java | spec/spec_helper.rb |
modis-1.4.1 | spec/spec_helper.rb |
modis-1.4.0 | spec/spec_helper.rb |