Skip to content

Conversation

@OutlawAndy
Copy link
Member

@OutlawAndy OutlawAndy commented Oct 29, 2025

Why?

The FrameLinkHelper (generated by the Modal generator) was overly complicated & contained at least 1 bug (required an options hash)

Side Note:

In addition to Generator specs, we should be testing the functionality our generators are providing. That's not always straight forward to do and will often (as was the case here) require separate spec files. As the code owner however, it only makes sense that those tests belong here.

What Changed

  • simplified code
  • fixed bug
  • add extensive helper specs

Pre-merge checklist

  • Update relevant READMEs
  • Update version number in lib/rolemodel_rails/version.rb

Screenshots

iTerm2 10 28 2025@20 13 49

@OutlawAndy OutlawAndy self-assigned this Oct 29, 2025
@OutlawAndy OutlawAndy merged commit 2ca54d4 into master Oct 29, 2025
2 checks passed
@Jeremy-Walton Jeremy-Walton deleted the refactor-frame-link-helper branch November 13, 2025 01:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants