Skip to content

Conversation

@raluka
Copy link

@raluka raluka commented Oct 14, 2025

I would like to submit this PR that adds test suite for AccountLinkedAccount model.

  • created tests for associations
  • created tests for the account_type attribute
  • created tests for #testing? method
  • added tests to check database constrains. This ones I added mostly because I noticed there is no model validation of the account_type.

All the tests are generated using tng(v.0.2.4) gem.
Full disclosure: I am the owner of TNG 😄

If it brings value, I would love to merge this PR.I am opened for any suggestion for improvement.

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