Sha256: c567926a57188b200aa09c344c45a0c4406c4d193d4c5fea78826c9f68fac5ea

Contents?: true

Size: 432 Bytes

Versions: 5

Compression:

Stored size: 432 Bytes

Contents

require 'minitest/spec'
require 'minitest/autorun'
require 'redis-kit'

def jruby?
  RUBY_ENGINE == "jruby"
end

def good_config_path
  "test/support/redis.good.yml"
end

def missing_config_path
  "test/support/whoops.yml"
end

def invalid_config_path
  "test/support/redis.invalid.yml"
end

def blank_config_path
  "test/support/redis.blank.yml"
end

def catch_error
  begin
    yield
    nil
  rescue => e
    return e
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
redis-kit-0.1.0 test/test_helper.rb
redis-kit-0.0.6 test/test_helper.rb
redis-kit-0.0.5 test/test_helper.rb
redis-kit-0.0.4 test/test_helper.rb
redis-kit-0.0.3 test/test_helper.rb