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

Version Path
angular-rails4-templates-0.4.1 vendor/ruby/2.1.0/gems/mime-types-2.6.1/test/minitest_helper.rb
angular-rails4-templates-0.4.0 vendor/ruby/2.1.0/gems/mime-types-2.6.1/test/minitest_helper.rb
angular-rails4-templates-0.3.0 vendor/ruby/2.1.0/gems/mime-types-2.6.1/test/minitest_helper.rb
suzuko-0.1.8 vendor/bundle/ruby/2.0.0/gems/mime-types-2.6.2/test/minitest_helper.rb
suzuko-0.1.7 vendor/bundle/ruby/2.0.0/gems/mime-types-2.6.2/test/minitest_helper.rb
mastermind_adeybee-0.1.4 vendor/bundle/ruby/2.2.0/gems/mime-types-2.6.2/test/minitest_helper.rb
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/mime-types-2.6.2/test/minitest_helper.rb
mastermind_adeybee-0.1.3 vendor/bundle/ruby/2.2.0/gems/mime-types-2.6.2/test/minitest_helper.rb
mastermind_adeybee-0.1.2 vendor/bundle/ruby/2.2.0/gems/mime-types-2.6.2/test/minitest_helper.rb
mastermind_adeybee-0.1.1 vendor/bundle/ruby/2.2.0/gems/mime-types-2.6.2/test/minitest_helper.rb
mime-types-2.6.2 test/minitest_helper.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/mime-types-2.6.1/test/minitest_helper.rb
solidus_backend-1.0.0.pre3 vendor/bundle/gems/mime-types-2.6.1/test/minitest_helper.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/mime-types-2.6.1/test/minitest_helper.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/mime-types-2.6.1/test/minitest_helper.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/mime-types-2.6.1/test/minitest_helper.rb
mime-types-2.6.1 test/minitest_helper.rb
mime-types-2.6 test/minitest_helper.rb