1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

@@project_dir in Gem::TestCase is no longer used

This commit is contained in:
Nobuyoshi Nakada 2019-07-24 20:08:40 +09:00
parent 99fb637c41
commit dc954cbb75
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60
2 changed files with 0 additions and 12 deletions

View file

@ -198,11 +198,5 @@ if $0 == __FILE__
end
end
require 'rubygems'
module Gem # :nodoc:
end
class Gem::TestCase < MiniTest::Unit::TestCase # :nodoc:
@@project_dir = File.expand_path('../../../../..', __FILE__)
end
Test::Unit::Worker.new.run(ARGV)
end

View file

@ -24,12 +24,6 @@ Dir.glob("#{src_testdir}/../gems/*/*.gemspec")
require 'test/unit'
module Gem
end
class Gem::TestCase < MiniTest::Unit::TestCase
@@project_dir = File.dirname($LOAD_PATH.last)
end
ENV["GEM_SKIP"] = ENV["GEM_HOME"] = ENV["GEM_PATH"] = "".freeze
require_relative "#{tool_dir}/lib/profile_test_all" if ENV.has_key?('RUBY_TEST_ALL_PROFILE')