Actions
Defect #119
closedTest in method project in Attachment Model useless
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Affected version:
Description
Hi,
I test a code coverage and I see a method with a test useless for me. In the Attachment Model, I see the method :
def project
container.is_a?(Project) ? container : container.project
end
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.
Files
Actions