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:
parent
99fb637c41
commit
dc954cbb75
2 changed files with 0 additions and 12 deletions
|
@ -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
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue