spec/spec_helper.rb in deimos-ruby-1.8.1.pre.beta8 vs spec/spec_helper.rb in deimos-ruby-1.8.1.pre.beta9
- old
+ new
@@ -181,9 +181,10 @@
end
config.before(:each) do
Deimos.config.reset!
Deimos.configure do |deimos_config|
+ deimos_config.producers.backend = :test
deimos_config.phobos_config_file = File.join(File.dirname(__FILE__), 'phobos.yml')
deimos_config.schema.path = File.join(File.expand_path(__dir__), 'schemas')
deimos_config.consumers.reraise_errors = true
deimos_config.schema.registry_url = ENV['SCHEMA_REGISTRY'] || 'http://localhost:8081'
deimos_config.kafka.seed_brokers = ENV['KAFKA_SEED_BROKER'] || 'localhost:9092'