Skip to content

Commit 403413e

Browse files
deivid-rodriguezmatzbot
authored andcommitted
[rubygems/rubygems] Don't print warning about nil versions being discouraged during tests
rubygems/rubygems@39a47c264e
1 parent aa2a88c commit 403413e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/rubygems/test_gem_specification.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3953,11 +3953,11 @@ def test_load_default_gem
39533953

39543954
def test_validate_for_resolution_validates_required_attributes
39553955
e = assert_raise Gem::InvalidSpecificationException do
3956-
@a1.version = nil
3956+
@a1.name = nil
39573957
@a1.validate_for_resolution
39583958
end
39593959

3960-
assert_equal "missing value for attribute version", e.message
3960+
assert_equal "missing value for attribute name", e.message
39613961
end
39623962

39633963
def test_validate_for_resolution_validates_name

0 commit comments

Comments
 (0)