class ActiveSupport::TestCase

Public Instance Methods

method_missing(name, *args) click to toggle source

Catching up the magick ‘be_smthing?` matchers

Calls superclass method
# File lib/minitest/mustwonted/spec.rb, line 48
def method_missing(name, *args)
  if name.slice(0, 3) == 'be_'
    Minitest::MustWonted::Matcher::Magick.new(name, args)
  elsif respond_to?("assert_#{name}")
    Minitest::MustWonted::Matcher::Legacy.new(name, args, self)
  else
    super name, *args
  end
end