summaryrefslogtreecommitdiff
path: root/missing
diff options
context:
space:
mode:
authorMichael Siegfried <michaeldsiegfried@gmail.com>2023-03-23 21:46:45 -0700
committergit <svn-admin@ruby-lang.org>2023-03-28 01:18:49 +0000
commitb31bd8b8531a7af294a056ce7b1e9c132fa9bcad (patch)
tree40d9bc7901b4166f67b96823066b5c85c4167362 /missing
parent466322ec6ee4bdf794dff093d5c6512a41cb8d34 (diff)
[rubygems/rubygems] Rewrite GemVersionPromoter specs
Add tests for pre, move more of the setup into a helper method, and restructure tests. There seem to be five considerations for these tests (level, pre, strict, locked, and whether the current version is a prerelease version, though the last one overlaps with pre and didn't seem to behave how I expected under test). Rather than write out the 16 (/32 if the last consideration is real) combinations, I wrote most with independent tests for each value. The existing combined tests were maintained (level vs strict) because these seem the most interrelated. https://github.com/rubygems/rubygems/commit/74c23a91b2
Diffstat (limited to 'missing')
0 files changed, 0 insertions, 0 deletions