Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Part of #3554
Description
#3554 is about addressing
TODO
comments. There were several inspec/models/barcode_item_spec.rb
about adding tests.describes
(and their TODO comments) and added a comment pointing readers to that contextby_item_partner_key
but since it's also used in filtering, we put it in that context tooby_base_item_partner_key
more robust by adding a test on the number of returned itemsdescribed "global"
didn't match behaviour, so we updated that.Paired with @mgriffin ❤️
Type of change
How Has This Been Tested?
CI