diff options
Diffstat (limited to 'spec/lib/gitlab/database/partitioning_spec.rb')
-rw-r--r-- | spec/lib/gitlab/database/partitioning_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/database/partitioning_spec.rb b/spec/lib/gitlab/database/partitioning_spec.rb index 8724716dd3d..a1ae75ac916 100644 --- a/spec/lib/gitlab/database/partitioning_spec.rb +++ b/spec/lib/gitlab/database/partitioning_spec.rb @@ -257,7 +257,7 @@ RSpec.describe Gitlab::Database::Partitioning, feature_category: :database do end it 'drops detached partitions for each database' do - expect(Gitlab::Database::EachDatabase).to receive(:each_database_connection).and_yield + expect(Gitlab::Database::EachDatabase).to receive(:each_connection).and_yield expect { described_class.drop_detached_partitions } .to change { Postgresql::DetachedPartition.count }.from(2).to(0) |