Sha256: 18cc9d7b3be91a8633ae0ed1b8f2f1c81dad9593cea402b3ae5a46c88f704585

Contents?: true

Size: 449 Bytes

Versions: 1

Compression:

Stored size: 449 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

1 entries across 1 versions & 1 rubygems

Version Path
modis-1.1.0 spec/spec_helper.rb