Sha256: 144b20869ac1036195b19a0bce8e189a30bb3ff096253ad073360cd3c435425e
Contents?: true
Size: 503 Bytes
Versions: 1
Compression:
Stored size: 503 Bytes
Contents
# SimpleCov provides test coverage in ruby 1.9 environments only, fail silently # if it is not available begin; require 'simplecov'; rescue LoadError; end require 'shoulda' require 'test/unit' require 'mocha' require 'redis' require 'abaci' # Fail silently if Turn is not available (runs in 1.9+ only) begin; require 'turn/autorun'; rescue LoadError; end REDIS = Redis.new(:db => 1) Abaci.redis = REDIS class Test::Unit::TestCase def setup REDIS.flushdb Abaci.prefix = 'ab-test' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
abaci-0.2.0 | test/helper.rb |