spec/spec_helper.rb in message-driver-0.1.0 vs spec/spec_helper.rb in message-driver-0.2.0.rc1
- old
+ new
@@ -9,12 +9,15 @@
c.order = 'random'
c.filter_run :focus
c.reporter.message("Acceptance Tests running with broker config: #{BrokerConfig.config}")
- c.filter_run_excluding :no_travis if ENV['TRAVIS']=='true' && ENV['ADAPTER']=='bunny'
+ c.filter_run_excluding :no_ci if ENV['CI']=='true' && ENV['ADAPTER'] && ENV['ADAPTER'].start_with?('bunny')
if c.inclusion_filter[:all_adapters] == true
- c.filter_run BrokerConfig.current_adapter
+ BrokerConfig.unconfigured_adapters.each do |a|
+ c.filter_run_excluding a
+ end
+ c.filter_run_including BrokerConfig.current_adapter
else
c.run_all_when_everything_filtered = true
end
end