debian-mirror-gitlab/spec/factories/diff_note_positions.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
243 B
Ruby
Raw Normal View History

2020-04-22 19:07:51 +05:30
# 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