aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/test_gem_specification.rb
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-10-30 06:32:48 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-10-30 06:32:48 +0000
commit0c6524845717858934c512fb152ea6758e7ad7cd (patch)
treead567ed7fe9d9cb24c9877070cad689a90cd8f15 /test/rubygems/test_gem_specification.rb
parentc9b83b3bef32b2bb9f2a68fe90c5df15131bddd1 (diff)
downloadruby-0c6524845717858934c512fb152ea6758e7ad7cd.tar.gz
* lib/rubygems.rb, lib/rubygems/*, test/rubygems/*: Update
rubygems to 2.6.8. Release note of 2.6.8: https://github.com/rubygems/rubygems/commit/9fb8880976f5ab998912898b091d88aa10eb1d4a git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems/test_gem_specification.rb')
-rw-r--r--test/rubygems/test_gem_specification.rb9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_specification.rb b/test/rubygems/test_gem_specification.rb
index 46828e05ad..4131a376c9 100644
--- a/test/rubygems/test_gem_specification.rb
+++ b/test/rubygems/test_gem_specification.rb
@@ -3080,7 +3080,7 @@ Did you mean 'Ruby'?
end
end
- err = 'specification_version must be an Integer (did you mean version?)'
+ err = 'specification_version must be a Integer (did you mean version?)'
assert_equal err, e.message
end
end
@@ -3389,6 +3389,13 @@ end
end
end
+ def test_find_by_name_with_only_prereleases
+ q = util_spec "q", "2.a"
+ install_specs q
+
+ assert Gem::Specification.find_by_name "q"
+ end
+
def test_find_by_name_prerelease
b = util_spec "b", "2.a"