Welcome to mirror list, hosted at ThFree Co, Russian Federation.

diff_note_positions.rb « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6e95e306d509393757d8dcc2c9b2464361272536 (plain)
1
2
3
4
5
6
7
8
9
10
# 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