summaryrefslogtreecommitdiff
path: root/spec/workers/analytics/instance_statistics/count_job_trigger_worker_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/workers/analytics/instance_statistics/count_job_trigger_worker_spec.rb')
-rw-r--r--spec/workers/analytics/instance_statistics/count_job_trigger_worker_spec.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/workers/analytics/instance_statistics/count_job_trigger_worker_spec.rb b/spec/workers/analytics/instance_statistics/count_job_trigger_worker_spec.rb
index 620900b3402..ff692d0eda6 100644
--- a/spec/workers/analytics/instance_statistics/count_job_trigger_worker_spec.rb
+++ b/spec/workers/analytics/instance_statistics/count_job_trigger_worker_spec.rb
@@ -14,16 +14,4 @@ RSpec.describe Analytics::InstanceStatistics::CountJobTriggerWorker do
expect(Analytics::InstanceStatistics::CounterJobWorker.jobs.count).to eq(expected_count)
end
end
-
- context 'when the `store_instance_statistics_measurements` feature flag is off' do
- before do
- stub_feature_flags(store_instance_statistics_measurements: false)
- end
-
- it 'does not trigger any CounterJobWorker job' do
- subject.perform
-
- expect(Analytics::InstanceStatistics::CounterJobWorker.jobs.count).to eq(0)
- end
- end
end