Sha256: 353db063f5a03f3c3e70aece783e28bb5c6296e636216a66ad4a0e2dd766706d

Contents?: true

Size: 453 Bytes

Versions: 2

Compression:

Stored size: 453 Bytes

Contents

require 'bundler/setup'
require 'minitest/autorun'
require 'mocha/minitest'
require 'redis'
require 'redis-store'

$DEBUG = ENV["DEBUG"] === "true"

Redis::DistributedStore.send(:class_variable_set, :@@timeout, 30)

# http://mentalized.net/journal/2010/04/02/suppress_warnings_from_ruby/
module Kernel
  def suppress_warnings
    original_verbosity = $VERBOSE
    $VERBOSE = nil
    result = yield
    $VERBOSE = original_verbosity
    result
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
redis-store-1.11.0 test/test_helper.rb
redis-store-1.10.0 test/test_helper.rb