From d054a60a650a2b379b3be374ac59eb3072ae31ae Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Mon, 16 Mar 2026 19:18:49 +0530 Subject: [PATCH] fix: spec flag name --- spec/lib/reporting_events_rollup_backfill_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/lib/reporting_events_rollup_backfill_spec.rb b/spec/lib/reporting_events_rollup_backfill_spec.rb index 58128a305..1da00213b 100644 --- a/spec/lib/reporting_events_rollup_backfill_spec.rb +++ b/spec/lib/reporting_events_rollup_backfill_spec.rb @@ -47,7 +47,7 @@ describe ReportingEventsRollupBackfill do it 'enables the feature flag when the user confirms' do allow($stdin).to receive(:gets).and_return("y\n") - expect(account).to receive(:enable_features!).with('reporting_events_rollup') + expect(account).to receive(:enable_features!).with(:report_rollup) service.send(:prompt_enable_rollup_read_path, account) end @@ -61,7 +61,7 @@ describe ReportingEventsRollupBackfill do end it 'skips the prompt when the feature is already enabled' do - allow(account).to receive(:feature_enabled?).with(:reporting_events_rollup).and_return(true) + allow(account).to receive(:feature_enabled?).with(:report_rollup).and_return(true) expect($stdin).not_to receive(:gets)