Sha256: 54e8e6e38f1f8285fe62813420d6f4b5bb50ed6cc53f6a33206e9581aa43b964

Contents?: true

Size: 464 Bytes

Versions: 7

Compression:

Stored size: 464 Bytes

Contents

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

$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

7 entries across 7 versions & 1 rubygems

Version Path
redis-store-1.9.2 test/test_helper.rb
redis-store-1.9.1 test/test_helper.rb
redis-store-1.9.0 test/test_helper.rb
redis-store-1.8.2 test/test_helper.rb
redis-store-1.8.1 test/test_helper.rb
redis-store-1.8.0 test/test_helper.rb
redis-store-1.6.0 test/test_helper.rb