Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up tagged_with_* Status specs, fix RSpec/LetSetup cop #28462

Merged
merged 2 commits into from Dec 22, 2023

Conversation

mjankowski
Copy link
Contributor

The first commit here is a pure refactor -- changing what had been a reorder/pluck/uniq setup asserting against a contain_exactly, to just use include against the non-order-determined collection. This seems fine to me since there's no order spec'd in the code.

The second commit makes use of previously unused vars in a way that I think is consistent with why they were present.

@renchap renchap added testing Automated lint and test suites ruby Pull requests that update Ruby code labels Dec 21, 2023
@ClearlyClaire ClearlyClaire added this pull request to the merge queue Dec 22, 2023
Merged via the queue into mastodon:main with commit e6e217f Dec 22, 2023
36 checks passed
@mjankowski mjankowski deleted the status-spec-tags branch December 22, 2023 14:32
vmstan pushed a commit to vmstan/mastodon that referenced this pull request Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ruby Pull requests that update Ruby code testing Automated lint and test suites
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants