diff options
Diffstat (limited to 'spec/lib/gitlab/database/partitioning/monthly_strategy_spec.rb')
-rw-r--r-- | spec/lib/gitlab/database/partitioning/monthly_strategy_spec.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/spec/lib/gitlab/database/partitioning/monthly_strategy_spec.rb b/spec/lib/gitlab/database/partitioning/monthly_strategy_spec.rb index f9dca371398..c4fbf53d1c2 100644 --- a/spec/lib/gitlab/database/partitioning/monthly_strategy_spec.rb +++ b/spec/lib/gitlab/database/partitioning/monthly_strategy_spec.rb @@ -237,16 +237,6 @@ RSpec.describe Gitlab::Database::Partitioning::MonthlyStrategy do expect(subject).to contain_exactly(min_value_to_may) end - - context 'when the feature flag is toggled off' do - before do - stub_feature_flags(partition_pruning_dry_run: false) - end - - it 'is empty' do - expect(subject).to eq([]) - end - end end context 'with a time retention policy of 2 months' do @@ -258,16 +248,6 @@ RSpec.describe Gitlab::Database::Partitioning::MonthlyStrategy do Gitlab::Database::Partitioning::TimePartition.new(model.table_name, '2020-05-01', '2020-06-01', partition_name: 'partitioned_test_202005') ) end - - context 'when the feature flag is toggled off' do - before do - stub_feature_flags(partition_pruning_dry_run: false) - end - - it 'is empty' do - expect(subject).to eq([]) - end - end end end end |