Commit ee46c405 authored by Alex Kalderimis's avatar Alex Kalderimis

Ensure that notes create designs that are coherent

parent e3494e11
......@@ -8,7 +8,7 @@ FactoryBot.modify do
end
trait :on_design do
noteable { create(:design, :with_file, project: project) }
noteable { create(:design, :with_file, issue: create(:issue, project: project)) }
end
trait :with_review do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment