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

Move status creation to "with rss" context in accounts request spec #32020

Merged

Conversation

mjankowski
Copy link
Contributor

These records are only relevant to and asserted about in the RSS section here, but they are being created for the other contexts as well. Reduces factory creation from ~170 to ~70 in this spec.

Side note - a good refactor would be to move this rss context out to it's own request spec to isolate it a bit, and then also refactor the controller actions so that we preserve the routes/endpoints, but move the implementation to like accounts/statuses#index (for rss format) or something to better reflect the "return a bunch of rss-serialized statuses" aspect here.

@ClearlyClaire ClearlyClaire added this pull request to the merge queue Sep 23, 2024
Merged via the queue into mastodon:main with commit 66ed7ea Sep 23, 2024
29 checks passed
@mjankowski mjankowski deleted the spec-request-account-rss-records branch September 23, 2024 13:04
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.

2 participants