$LOAD_PATH.unshift File.expand_path("../lib", __dir__)
require "stairwell"
require "pry"
require "active_record"

require "minitest/autorun"

class Minitest::Test
  def assert_raises_with_message(exception, msg, &block)
    block.call
  rescue exception => e
    assert_match msg, e.message
  else
    raise "Expected to raise #{exception} w/ message #{msg}, none raised"
  end

  def assert_nothing_raised(exception, &block)
    block.call
  end
end
