Commit eb070e44 authored by Sean McGivern's avatar Sean McGivern

Merge branch 'pl-move-model-overrides-into-own-file' into 'master'

Move model overrides into own spec location

Closes #258543

See merge request gitlab-org/gitlab!43666
parents e7417720 7d942991
......@@ -290,9 +290,3 @@ FactoryBot.define do
factory :merge_request_without_merge_request_diff, class: 'MergeRequestWithoutMergeRequestDiff'
end
end
class MergeRequestWithoutMergeRequestDiff < ::MergeRequest
self.inheritance_column = :_type_disabled
def ensure_merge_request_diff; end
end
# frozen_string_literal: true
class MergeRequestWithoutMergeRequestDiff < ::MergeRequest
self.inheritance_column = :_type_disabled
def ensure_merge_request_diff; 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