-
Notifications
You must be signed in to change notification settings - Fork 82
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
Testing and fixtures #644
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The rails documentation says scant little, to this day, about testing or fixtures
https://guides.rubyonrails.org/i18n.html.
I have seen different apporaches suggested.
The latter feels more natural, as it reflects the database structure.
Yet, for a given class
a fixture, with stock scaffold generation, for promotions.yml
and a mobility/text_translations.yml with
when intercepted in a test
yields nil for both.
So this is an issue (for which, admittedly Rails doc does not help).
To which I might attempt a documentation PR... However, I still do not see how to resolve the Minitest fixture issue.
[Sorry for corss-posting, but since I realised , post facto, the issue was marked closed, it might not pop up]
Originally posted by @dvodvo in #626 (comment)
The text was updated successfully, but these errors were encountered: