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:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-12-01 18:13:55 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-12-01 18:13:55 +0300
commit66629d156e2420269ed53eff3dca0912cfe848e2 (patch)
tree64491b1d9bbb19ea8a8e336b92484ca70d94d84d /spec/workers/loose_foreign_keys
parentc9439a09c51acff525f2e5c5cba8caecc270da8b (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/workers/loose_foreign_keys')
-rw-r--r--spec/workers/loose_foreign_keys/cleanup_worker_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/workers/loose_foreign_keys/cleanup_worker_spec.rb b/spec/workers/loose_foreign_keys/cleanup_worker_spec.rb
index 6d67be61167..3c628d036ff 100644
--- a/spec/workers/loose_foreign_keys/cleanup_worker_spec.rb
+++ b/spec/workers/loose_foreign_keys/cleanup_worker_spec.rb
@@ -31,8 +31,8 @@ RSpec.describe LooseForeignKeys::CleanupWorker do
{
'_test_loose_fk_parent_table_1' => [
ActiveRecord::ConnectionAdapters::ForeignKeyDefinition.new(
- '_test_loose_fk_parent_table_1',
'_test_loose_fk_child_table_1_1',
+ '_test_loose_fk_parent_table_1',
{
column: 'parent_id',
on_delete: :async_delete,
@@ -40,8 +40,8 @@ RSpec.describe LooseForeignKeys::CleanupWorker do
}
),
ActiveRecord::ConnectionAdapters::ForeignKeyDefinition.new(
- '_test_loose_fk_parent_table_1',
'_test_loose_fk_child_table_1_2',
+ '_test_loose_fk_parent_table_1',
{
column: 'parent_id_with_different_column',
on_delete: :async_nullify,
@@ -51,8 +51,8 @@ RSpec.describe LooseForeignKeys::CleanupWorker do
],
'_test_loose_fk_parent_table_2' => [
ActiveRecord::ConnectionAdapters::ForeignKeyDefinition.new(
- '_test_loose_fk_parent_table_2',
'_test_loose_fk_child_table_2_1',
+ '_test_loose_fk_parent_table_2',
{
column: 'parent_id',
on_delete: :async_delete,