Sha256: c06c21f89758959563db6830115b4f4062741c4ff2c25c9245afd4a818be3353

Contents?: true

Size: 580 Bytes

Versions: 2

Compression:

Stored size: 580 Bytes

Contents

# frozen_string_literal: true

unless ENV['CI']
  begin
    require './spec/support/simplecov_helper'
    include SimpleCovHelper # rubocop:disable Style/MixinUsage
    start_simple_cov('unit')
  rescue LoadError
    puts "Coverage disabled."
  end
end

require 'modis'

Redis.raise_deprecations = true if Gem.loaded_specs['redis'].version >= Gem::Version.new('4.6.0')

RSpec.configure do |config|
  config.after :each do
    RSpec::Mocks.space.proxy_for(Modis).reset
    Modis.reset!
    Modis.configure do |modis_config|
      modis_config.namespace = 'modis'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
modis-4.3.2 spec/spec_helper.rb
modis-4.3.1 spec/spec_helper.rb