Commit 57a165b4 authored by Alex Kalderimis's avatar Alex Kalderimis

Avoid infinite loop in factory

parent 2c5a8b8a
......@@ -9,7 +9,6 @@ FactoryBot.modify do
trait :on_design do
noteable { create(:design, :with_file, issue: create(:issue, project: project)) }
project { noteable.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