spec/spec_helper.rb in basquiat-1.1.1 vs spec/spec_helper.rb in basquiat-1.2.0
- old
+ new
@@ -4,19 +4,22 @@
SimpleCov.start do
add_filter { |source| source.lines_of_code <= 3 }
add_filter { |source| source.filename =~ /spec/ }
- add_group('Adapters') { |source| source.filename =~ /basquiat\/adapters/ }
- add_group('Interfaces') { |source| source.filename =~ /basquiat\/interfaces/ }
- add_group('Support') { |source| source.filename =~ /basquiat\/support/ }
- add_group('Main Gem File') { |source| source.filename =~ %r{\/lib\/basquiat\.rb$} }
+ add_group('Adapters') { |source| source.filename =~ %r{lib/basquiat/adapters} }
+ add_group('RabbitMQ') { |source| source.filename =~ %r{lib/basquiat/adapters/rabbitmq} }
+ add_group('Errors') { |source| source.filename =~ %r{lib/basquiat/errors} }
+ add_group('Interfaces') { |source| source.filename =~ %r{lib/basquiat/interfaces} }
+ add_group('Main') { |source| source.filename =~ %r{lib/basquiat\.rb$} }
+ add_group('Support') { |source| source.filename =~ %r{lib/basquiat/support} }
end
ENV['BASQUIAT_ENV'] = 'test'
require 'basquiat'
Basquiat.configure do |config|
config.config_file = File.expand_path('../support/basquiat.yml', __FILE__)
+ config.logger = Logger.new('log/basquiat_test.log')
end
-
require 'support/shared_examples/basquiat_adapter_shared_examples'
+require 'support/rabbitmq_queue_matchers'