Sha256: 014f4412c1db5b8a9ac41102d28b095004f4e05d384c6da002ff823850ddf6dd

Contents?: true

Size: 457 Bytes

Versions: 7

Compression:

Stored size: 457 Bytes

Contents

require 'bundler/setup'
require 'minitest/autorun'
require 'mocha/setup'
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
    return result
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
redis-store-1.3.0 test/test_helper.rb
redis-store-1.2.0 test/test_helper.rb
redis-store-1.2.0.pre test/test_helper.rb
redis-store-1.1.7 test/test_helper.rb
redis-store-1.1.6 test/test_helper.rb
redis-store-1.1.5 test/test_helper.rb
redis-store-1.1.4 test/test_helper.rb