зеркало из https://github.com/github/ruby.git
[rubygems/rubygems] Don't print warning about nil versions being discouraged during tests
https://github.com/rubygems/rubygems/commit/39a47c264e
This commit is contained in:
Родитель
aa2a88ce90
Коммит
403413e1f1
|
@ -3953,11 +3953,11 @@ end
|
|||
|
||||
def test_validate_for_resolution_validates_required_attributes
|
||||
e = assert_raise Gem::InvalidSpecificationException do
|
||||
@a1.version = nil
|
||||
@a1.name = nil
|
||||
@a1.validate_for_resolution
|
||||
end
|
||||
|
||||
assert_equal "missing value for attribute version", e.message
|
||||
assert_equal "missing value for attribute name", e.message
|
||||
end
|
||||
|
||||
def test_validate_for_resolution_validates_name
|
||||
|
|
Загрузка…
Ссылка в новой задаче