summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2024-06-26 16:43:15 +0200
committergit <[email protected]>2024-06-26 16:11:44 +0000
commit403413e1f1d88a1af94ad9a288bfd7c28ef7257d (patch)
tree8707c1181d32e5aca15bff1083f77c17efa38b3f
parentaa2a88ce90e8d93cd4f22d38c1589a470fad6f4f (diff)
[rubygems/rubygems] Don't print warning about nil versions being discouraged during tests
https://github.com/rubygems/rubygems/commit/39a47c264e
-rw-r--r--test/rubygems/test_gem_specification.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rubygems/test_gem_specification.rb b/test/rubygems/test_gem_specification.rb
index 8975c083af..34ebb377c6 100644
--- a/test/rubygems/test_gem_specification.rb
+++ b/test/rubygems/test_gem_specification.rb
@@ -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