Test in method project in Attachment Model useless
I test a code coverage and I see a method with a test useless for me. In the Attachment Model, I see the method :
container.is_a?(Project) ? container : container.project
After an inspection of code a container can't be a Project, because a project has not association with an Attachment.
This method has added in changeset 541 of Subversion.
I submit a patch attach to this bug.