Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/migrations/20221110152133_delete_orphans_approval_rules_spec.rb')
-rw-r--r--spec/migrations/20221110152133_delete_orphans_approval_rules_spec.rb22
1 files changed, 0 insertions, 22 deletions
diff --git a/spec/migrations/20221110152133_delete_orphans_approval_rules_spec.rb b/spec/migrations/20221110152133_delete_orphans_approval_rules_spec.rb
deleted file mode 100644
index 3efee67f7af..00000000000
--- a/spec/migrations/20221110152133_delete_orphans_approval_rules_spec.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-require_migration!
-
-RSpec.describe DeleteOrphansApprovalRules, feature_category: :source_code_management do
- describe '#up' do
- it 'schedules background migration for both levels of approval rules' do
- migrate!
-
- expect(described_class::MERGE_REQUEST_MIGRATION).to have_scheduled_batched_migration(
- table_name: :approval_merge_request_rules,
- column_name: :id,
- interval: described_class::INTERVAL)
-
- expect(described_class::PROJECT_MIGRATION).to have_scheduled_batched_migration(
- table_name: :approval_project_rules,
- column_name: :id,
- interval: described_class::INTERVAL)
- end
- end
-end