class RSpec::Rails::Matchers::ActiveJob::Base

def base_message

def base_message
  "#{message_expectation_modifier} #{@expected_number} jobs,".tap do |msg|
    msg << " with #{@args}," if @args.any?
    msg << " on queue #{@queue}," if @queue
    msg << " at #{@at}," if @at
    msg << " but enqueued #{@matching_jobs_count}"
  end
end