Sha256: 5f2c1590cf46f4b4be20e7c1ad10a20c5c09186b741c8fbaba90580da4ede0ea
Contents?: true
Size: 534 Bytes
Versions: 3
Compression:
Stored size: 534 Bytes
Contents
ENV['RACK_ENV'] = 'test' if ENV['COVERAGE'] require 'simplecov' SimpleCov.start do add_filter '/test/' add_group 'helpers', 'lib/helpers' end end libpath = File.realpath(File.join(File.dirname(__FILE__), "..", "lib")) require 'rspec' require 'rack/test' require 'fakeredis/rspec' require 'redis-namespace' require "#{libpath}/app.rb" RSpec.configure do |conf| conf.include Rack::Test::Methods def app GaptoolServer end end DH = Gaptool::Data conn = Redis.new $redis = Redis::Namespace.new(:gt, redis:conn)
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gaptool-server-0.6.4 | test/test_helper.rb |
gaptool-server-0.6.3 | test/test_helper.rb |
gaptool-server-0.6.0 | test/test_helper.rb |