Commit a4ba52aa authored by Alex Kalderimis's avatar Alex Kalderimis Committed by Douglas Barbosa Alexandre

Pass diff_refs through from design

parent ff346a9a
......@@ -21,6 +21,6 @@ FactoryBot.define do
factory :note_on_epic, parent: :note, traits: [:on_epic]
factory :diff_note_on_design, parent: :note, traits: [:on_design], class: 'DiffNote' do
position { build(:image_diff_position, file: noteable.full_path) }
position { build(:image_diff_position, file: noteable.full_path, diff_refs: noteable.diff_refs) }
end
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