mirror of
https://github.com/ruby/ruby.git
synced 2025-09-17 01:23:57 +02:00
Revert r44778 #9375
It breaks test-all if all tests are in a single process git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@44786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3efb494a21
commit
8f87be4e22
30 changed files with 163 additions and 256 deletions
|
@ -316,7 +316,6 @@ ERROR: Possible alternatives: non_existent_with_hint
|
|||
end
|
||||
|
||||
def test_execute_rdoc
|
||||
skip if RUBY_VERSION <= "1.8.7"
|
||||
specs = spec_fetcher do |fetcher|
|
||||
fetcher.gem 'a', 2
|
||||
end
|
||||
|
@ -560,20 +559,6 @@ ERROR: Possible alternatives: non_existent_with_hint
|
|||
assert_equal %w[a-2], @cmd.installed_specs.map { |spec| spec.full_name }
|
||||
end
|
||||
|
||||
def test_install_gem_ignore_dependencies_specific_file
|
||||
spec = quick_spec 'a', 2
|
||||
|
||||
util_build_gem spec
|
||||
|
||||
FileUtils.mv spec.cache_file, @tempdir
|
||||
|
||||
@cmd.options[:ignore_dependencies] = true
|
||||
|
||||
@cmd.install_gem File.join(@tempdir, spec.file_name), nil
|
||||
|
||||
assert_equal %w[a-2], @cmd.installed_specs.map { |s| s.full_name }
|
||||
end
|
||||
|
||||
def test_parses_requirement_from_gemname
|
||||
spec_fetcher do |fetcher|
|
||||
fetcher.gem 'a', 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue