[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:
parent
aa2a88ce90
commit
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user