diff options
author | Jan Provaznik <jprovaznik@gitlab.com> | 2018-07-18 17:49:52 +0300 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2018-07-18 17:49:52 +0300 |
commit | f665e5b8fb8fe5c360e716121e94a497788fd6d5 (patch) | |
tree | d2dd88095b4aa05ed89907f60d836164a3512d9b /spec/factories/notes.rb | |
parent | 11deffa39f2b07605c3a924f227d3176158b51bc (diff) |
Fix serialization of LegacyDiffNote
Diffstat (limited to 'spec/factories/notes.rb')
-rw-r--r-- | spec/factories/notes.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/factories/notes.rb b/spec/factories/notes.rb index 9fdc3e616a6..6844ed8aa4a 100644 --- a/spec/factories/notes.rb +++ b/spec/factories/notes.rb @@ -39,6 +39,7 @@ FactoryBot.define do factory :legacy_diff_note_on_merge_request, traits: [:on_merge_request, :legacy_diff_note], class: LegacyDiffNote do association :project, :repository + position '' end factory :diff_note_on_merge_request, traits: [:on_merge_request], class: DiffNote do |