lib/rimless/rspec.rb in rimless-1.0.0 vs lib/rimless/rspec.rb in rimless-1.0.1

- old
+ new

@@ -17,9 +17,10 @@ # rubocop:disable Metrics/BlockLength because we have to configure # RSpec properly RSPEC_CONFIGURER.configure do |config| config.include Rimless::RSpec::Helpers config.include Rimless::RSpec::Matchers + config.include Karafka::Testing::RSpec::Helpers # Set the custom +consumer+ type for consumer spec files config.define_derived_metadata(file_path: %r{/spec/consumers/}) do |meta| meta[:type] = :consumer end