Sha256: b1673615a33422b6041c4d19af5c12ae6e268d532b54d6a2255d2c458f1563a0

Contents?: true

Size: 443 Bytes

Versions: 21

Compression:

Stored size: 443 Bytes

Contents

# -*- ruby encoding: utf-8 -*-

require 'mime/type'
require 'fileutils'

gem 'minitest'
require 'fivemat/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

21 entries across 20 versions & 5 rubygems

Version Path
mrcooper-logstash-output-azuresearch-0.2.2 vendor/jruby/2.5.0/gems/mime-types-2.99.3/test/minitest_helper.rb
tdiary-5.0.8 vendor/bundle/gems/tdiary-5.0.7/vendor/bundle/gems/mime-types-2.99.3/test/minitest_helper.rb
tdiary-5.0.7 vendor/bundle/gems/mime-types-2.99.3/test/minitest_helper.rb
tdiary-5.0.6 vendor/bundle/gems/mime-types-2.99.3/test/minitest_helper.rb
tdiary-5.0.5 vendor/bundle/gems/mime-types-2.99.3/test/minitest_helper.rb
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/mime-types-2.99.3/test/minitest_helper.rb
tdiary-5.0.4 vendor/bundle/gems/mime-types-2.99.3/test/minitest_helper.rb
vagrant-unbundled-1.9.1.1 vendor/bundle/ruby/2.4.0/gems/mime-types-2.99.3/test/minitest_helper.rb
tdiary-5.0.2 vendor/bundle/gems/mime-types-2.99.2/test/minitest_helper.rb
vagrant-compose-yaml-0.1.3 vendor/bundle/ruby/2.2.0/gems/mime-types-2.99.2/test/minitest_helper.rb
vagrant-compose-yaml-0.1.2 vendor/bundle/ruby/2.2.0/gems/mime-types-2.99.2/test/minitest_helper.rb
vagrant-compose-yaml-0.1.1 vendor/bundle/ruby/2.2.0/gems/mime-types-2.99.2/test/minitest_helper.rb
vagrant-compose-yaml-0.1.0 vendor/bundle/ruby/2.2.0/gems/mime-types-2.99.2/test/minitest_helper.rb
mime-types-2.99.3 test/minitest_helper.rb
vagrant-unbundled-1.8.5.2 vendor/bundle/ruby/2.3.0/gems/mime-types-2.99.2/test/minitest_helper.rb
vagrant-unbundled-1.8.5.1 vendor/bundle/ruby/2.3.0/gems/mime-types-2.99.2/test/minitest_helper.rb
vagrant-unbundled-1.8.4.2 vendor/bundle/ruby/2.3.0/gems/mime-types-2.99.2/test/minitest_helper.rb
vagrant-unbundled-1.8.4.1 vendor/bundle/ruby/2.3.0/gems/mime-types-2.99.2/test/minitest_helper.rb
tdiary-5.0.1 vendor/bundle/gems/mime-types-2.99.2/test/minitest_helper.rb
mime-types-2.99.2 test/minitest_helper.rb