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
have_many :as tests #735
Comments
We are talking here about polymorphic associations right? I think the
Maybe we can add a note on the docs, like we have on the belong_to. What you think? |
Just tested without |
Yeah, I think a note in the docs makes sense here. |
This was fixed a long time ago, and it looks like I forgot to close this. The commit that fixed this was: 670f154 |
I was wondering if
:as
should be added tohave_many
.I have
and am testing it using:
Since
:as
isn't currently available in shoulda-matchers I've also added the following test to my spec file but I'm not sure if I should really be testing anything more as part of:as
Thanks
The text was updated successfully, but these errors were encountered: