Skip to content

Test showing that changing preferred placement fails - #329

Draft
vangberg wants to merge 1 commit into
system-tests-for-placementfrom
replacing-preferred-placement-fails
Draft

Test showing that changing preferred placement fails#329
vangberg wants to merge 1 commit into
system-tests-for-placementfrom
replacing-preferred-placement-fails

Conversation

@vangberg

Copy link
Copy Markdown
Contributor

Test that shows how creating a new preferred placement fails:

CleanShot-2026-08-19-13-36-00

This happens because @placement.save! is called before the previous preferred placement gets preferred set to false in PlacementsController. I am trying to think of a good way to refactor that controller.

@vangberg vangberg self-assigned this Aug 19, 2026
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.

1 participant