summaryrefslogtreecommitdiffstats
path: root/test/rubygems/test_gem_source_index.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-12-08 07:19:09 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-12-08 07:19:09 +0000
commit79d365691b4ae1ebfd7b0a93a0ee481c0ccbfb89 (patch)
treedc11e68e4128f5d250d88f1ef70c8bd68ef1e166 /test/rubygems/test_gem_source_index.rb
parentb4164d8d6496f74dc78c10837a55b4eb79eab555 (diff)
downloadruby-79d365691b4ae1ebfd7b0a93a0ee481c0ccbfb89.tar.gz
ruby-79d365691b4ae1ebfd7b0a93a0ee481c0ccbfb89.tar.xz
ruby-79d365691b4ae1ebfd7b0a93a0ee481c0ccbfb89.zip
* lib/rubygems: update to 1.3.5.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems/test_gem_source_index.rb')
-rw-r--r--test/rubygems/test_gem_source_index.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/rubygems/test_gem_source_index.rb b/test/rubygems/test_gem_source_index.rb
index 9cfde0b0a..40a9a85b2 100644
--- a/test/rubygems/test_gem_source_index.rb
+++ b/test/rubygems/test_gem_source_index.rb
@@ -335,14 +335,12 @@ WARNING: Invalid .gemspec format in '#{spec_file}'
@source_index.add_spec gem_a1_alpha
refute @source_index.latest_specs.include?(gem_a1_alpha)
- assert_nil @source_index.specification(gem_a1_alpha.full_name)
+ assert @source_index.find_name(gem_a1_alpha.full_name).empty?
assert @source_index.prerelease_specs.include?(gem_a1_alpha)
-
- # TODO: don't think this tests writing prerelease index to disk
end
def test_refresh_bang
- a1_spec = File.join @gemhome, "specifications", "#{@a1.full_name}.gemspec"
+ a1_spec = File.join @gemhome, "specifications", "#{@a1.full_name}.gemspec"
FileUtils.mv a1_spec, @tempdir