Sha256: 695321c8387a050defdd4c2380d6fbbc4b993ede8e08356d8254c6a963f244b0
Contents?: true
Size: 435 Bytes
Versions: 18
Compression:
Stored size: 435 Bytes
Contents
# -*- ruby encoding: utf-8 -*- require 'mime/type' require 'fileutils' gem 'minitest' require 'minitest/autorun' require 'minitest/focus' module Minitest::MIMEDeprecated def assert_deprecated name, message = 'and will be removed' name = Regexp.escape(name) message = Regexp.escape(message) assert_output nil, /#{name} is deprecated #{message}./ do yield end end Minitest::Test.send(:include, self) end
Version data entries
18 entries across 18 versions & 7 rubygems