debian-mirror-gitlab/spec/factories/diff_note_positions.rb
2020-04-22 19:07:51 +05:30

10 lines
243 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :diff_note_position do
association :note, factory: :diff_note_on_merge_request
line_code { note.line_code }
position { note.position }
diff_type { :head }
end
end