require File.expand_path '../../lib/evrone/ci/worker', __FILE__ Bundler.require(:test) require 'rspec/autorun' require 'evrone/common/amqp/testing' require 'evrone/ci/message/testing' Dir[File.expand_path("../..", __FILE__) + "/spec/support/**/*.rb"].each {|f| require f} RSpec.configure do |config| config.mock_with :rr config.filter_run_excluding(:amqp => true) if ENV['REAL_AMQP'] config.before(:each) do Evrone::Common::AMQP::Testing.clear Evrone::CI::Worker.reset_config! end end