mirror of
https://github.com/gitlabhq/gitlabhq.git
synced 2025-08-16 14:53:17 +00:00
13 lines
295 B
Ruby
13 lines
295 B
Ruby
# frozen_string_literal: true
|
|
|
|
FactoryBot.define do
|
|
factory :user_preference do
|
|
user
|
|
|
|
trait :only_comments do
|
|
issue_notes_filter { UserPreference::NOTES_FILTERS[:only_comments] }
|
|
merge_request_notes_filter { UserPreference::NOTE_FILTERS[:only_comments] }
|
|
end
|
|
end
|
|
end
|