module RSpec::Rails::MinitestAssertionAdapter::ClassMethods

def assertion_method_names

Minitest.
examples without exposing non-assertion methods in Test::Unit or
Returns the names of assertion methods that we want to expose to
def assertion_method_names
  ::RSpec::Rails::Assertions
    .public_instance_methods
    .select do |m|
      m.to_s =~ /^(assert|flunk|refute)/
    end
end

def define_assertion_delegators

def define_assertion_delegators
  assertion_method_names.each do |m|
    define_method(m.to_sym) do |*args, &block|
      assertion_delegator.send(m.to_sym, *args, &block)
    end
  end
end