-
Notifications
You must be signed in to change notification settings - Fork 146
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
string_params_for
does not stringify keys in associations
#222
Comments
I just realized that the usage of stringified keys in associations within Phoenix controller tests (the apparent use case for the So this might just be a non-issue, but it's a little confusing none the less. |
I believe #224 closes this issue. If not, please re-open. Thank you for reporting this! |
Seems to work perfect, thanks for fixing this! |
Given a Phoenix + Ecto app with the following factory:
The produced output of
string_params_for(:album)
is:The expected output should have the
name
key of every associateditem
as a string, not an atom:Which is understandable because of the call to
build_list
inalbum_factory
, but it's confusing none the less.The text was updated successfully, but these errors were encountered: