summaryrefslogtreecommitdiff
path: root/spec/models/concerns/batch_destroy_dependent_associations_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models/concerns/batch_destroy_dependent_associations_spec.rb')
-rw-r--r--spec/models/concerns/batch_destroy_dependent_associations_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/concerns/batch_destroy_dependent_associations_spec.rb b/spec/models/concerns/batch_destroy_dependent_associations_spec.rb
index c16b245bea8..e5392fe0462 100644
--- a/spec/models/concerns/batch_destroy_dependent_associations_spec.rb
+++ b/spec/models/concerns/batch_destroy_dependent_associations_spec.rb
@@ -4,8 +4,8 @@ describe BatchDestroyDependentAssociations do
class TestProject < ActiveRecord::Base
self.table_name = 'projects'
- has_many :builds, dependent: :destroy # rubocop:disable Cop/ActiveRecordDependent
- has_many :notification_settings, as: :source, dependent: :delete_all # rubocop:disable Cop/ActiveRecordDependent
+ has_many :builds, dependent: :destroy
+ has_many :notification_settings, as: :source, dependent: :delete_all
has_many :pages_domains
has_many :todos