diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-04 06:21:53 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-04 06:21:53 +0000 |
commit | 395d8788565b8fca8cd55c81dd2be2448517a6ad (patch) | |
tree | 729ecf1549356e45f778666a8806420c8223d05d /test/rubygems/test_gem_specification.rb | |
parent | f104dc7fe7649c1f8fd12ca32381e5db71b20d91 (diff) | |
download | ruby-395d8788565b8fca8cd55c81dd2be2448517a6ad.tar.gz |
* lib/rubygems: Update to RubyGems 2.5.0+ HEAD(fdab4c4).
this version includes #1396, #1397, #1398, #1399
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems/test_gem_specification.rb')
-rw-r--r-- | test/rubygems/test_gem_specification.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/rubygems/test_gem_specification.rb b/test/rubygems/test_gem_specification.rb index 1ca2046195..6c7ee6054a 100644 --- a/test/rubygems/test_gem_specification.rb +++ b/test/rubygems/test_gem_specification.rb @@ -2678,6 +2678,21 @@ duplicate dependency on c (>= 1.2.3, development), (~> 1.2) use: end end + def test_validate_prerelease_dependencies_with_prerelease_version + util_setup_validate + + Dir.chdir @tempdir do + @a1.version = '1.0.0.beta.1' + @a1.add_runtime_dependency 'b', '~> 1.2.0.beta.1' + + use_ui @ui do + @a1.validate + end + + assert_equal '', @ui.error, 'warning' + end + end + def test_validate_description util_setup_validate |