2013-03-13 17:16:47 -04:00
|
|
|
require 'coveralls'
|
|
|
|
Coveralls.wear! do
|
|
|
|
add_filter "/test/"
|
|
|
|
end
|
|
|
|
|
2012-05-05 01:23:43 -04:00
|
|
|
ENV['RACK_ENV'] = ENV['RAILS_ENV'] = 'test'
|
2012-03-18 22:53:26 -04:00
|
|
|
if ENV.has_key?("SIMPLECOV")
|
2012-01-24 01:07:21 -05:00
|
|
|
require 'simplecov'
|
|
|
|
SimpleCov.start
|
|
|
|
end
|
|
|
|
|
2012-11-01 19:08:27 -04:00
|
|
|
begin
|
|
|
|
require 'pry'
|
|
|
|
rescue LoadError
|
|
|
|
end
|
2012-09-04 01:38:45 -04:00
|
|
|
|
2012-01-21 19:42:21 -05:00
|
|
|
require 'minitest/unit'
|
|
|
|
require 'minitest/autorun'
|
2013-02-15 13:14:16 -05:00
|
|
|
require 'minitest/emoji'
|
2012-02-14 12:00:26 -05:00
|
|
|
|
2012-03-14 00:19:46 -04:00
|
|
|
require 'sidekiq'
|
2012-02-14 12:00:26 -05:00
|
|
|
require 'sidekiq/util'
|
2012-05-15 22:44:35 -04:00
|
|
|
Sidekiq.logger.level = Logger::ERROR
|
2012-03-14 00:19:46 -04:00
|
|
|
|
|
|
|
require 'sidekiq/redis_connection'
|
2012-04-03 23:50:09 -04:00
|
|
|
REDIS = Sidekiq::RedisConnection.create(:url => "redis://localhost/15", :namespace => 'testy')
|