Commit 701162f8 authored by Rémy Coutable's avatar Rémy Coutable

Extract EE-specific code from spec/factories/notes.rb

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 4289c817
......@@ -6,6 +6,10 @@ FactoryBot.modify do
noteable { create(:epic) }
project nil
end
trait :with_review do
review
end
end
end
......
......@@ -137,10 +137,6 @@ FactoryBot.define do
system true
end
trait :with_review do
review
end
trait :downvote do
note "thumbsdown"
end
......
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