diff options
Diffstat (limited to 'spec/factories/reviews.rb')
-rw-r--r-- | spec/factories/reviews.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/factories/reviews.rb b/spec/factories/reviews.rb new file mode 100644 index 00000000000..7cf752f1cd9 --- /dev/null +++ b/spec/factories/reviews.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +FactoryBot.define do + factory :review do + merge_request + association :project, :repository + author factory: :user + end +end |