Skip to content

Conversation

@tf
Copy link
Member

@tf tf commented Nov 14, 2025

REDMINE-21179

Upgrade `factory_bot` to remove dependency on `observer`.

REDMINE-21179
@tf tf force-pushed the ruby-3-4-node-22 branch from c619dfb to a374ba3 Compare November 17, 2025 07:42
@tf tf changed the title Try upgrading to Ruby 3.4 and Node 22 Use Ruby 3.4 and Node 22 in GitHub actions Nov 17, 2025
Factory_bot 6.x defaults use_parent_strategy to true, so build()
now builds rather than creates associations. This caused the test
to fail because entry.site_id was nil when the site wasn't persisted.

REDMINE-21179
@tf tf added this to the v17.2 milestone Nov 17, 2025
@tf tf marked this pull request as ready for review November 17, 2025 09:35
@tf tf merged commit 077c5aa into codevise:master Nov 17, 2025
16 checks passed
@tf tf deleted the ruby-3-4-node-22 branch November 17, 2025 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant