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

Fix RSpec/LetSetup cop in spec/services #28459

Merged
merged 1 commit into from
Dec 21, 2023

Conversation

mjankowski
Copy link
Contributor

Same idea as last few similar ones -- attempted to identify where there were unused vars which had meaningful assertions to be made and added them. Moved the ones that were actually pure data setup to before blocks.

Most of these are hopefully straightforward. The only large diff is in the delete_account_service_spec, which had a sort of convoluted way of referring back to the created data by building arrays and verifying changed counts ... updated that to just refer to the records we wanted to see removed there.

@ClearlyClaire ClearlyClaire added this pull request to the merge queue Dec 21, 2023
Merged via the queue into mastodon:main with commit 9251779 Dec 21, 2023
30 checks passed
@mjankowski mjankowski deleted the let-setup-part-9 branch December 21, 2023 14:39
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
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants