diff --git a/.rubocop_manual_todo.yml b/.rubocop_manual_todo.yml index b96cc49e01d10a65e05a3b53169f6732a6af0951..05aff51ed6ac0947af42c005c9c6c02235c98e1b 100644 --- a/.rubocop_manual_todo.yml +++ b/.rubocop_manual_todo.yml @@ -16,7 +16,6 @@ FactoryBot/InlineAssociation: - 'spec/factories/import_export_uploads.rb' - 'spec/factories/merge_requests.rb' - 'spec/factories/notes.rb' - - 'spec/factories/sent_notifications.rb' - 'spec/factories/uploads.rb' - 'spec/factories/wiki_pages.rb' diff --git a/spec/factories/sent_notifications.rb b/spec/factories/sent_notifications.rb index 11116af7dbbb0885984166e0f28144f291cb2f07..f10a3235202ffd0df5b6593f28322eb3e183c0fa 100644 --- a/spec/factories/sent_notifications.rb +++ b/spec/factories/sent_notifications.rb @@ -4,7 +4,7 @@ factory :sent_notification do project recipient { project.creator } - noteable { create(:issue, project: project) } + noteable { association(:issue, project: project) } reply_key { SentNotification.reply_key } end end