test(automations): update feature flag bit-mapping spec for delayed_automations

This commit is contained in:
Tanmay Deep Sharma
2026-07-15 12:43:43 +05:30
parent 3436632a3b
commit 2e2fcdec47
+1 -1
View File
@@ -109,7 +109,7 @@ RSpec.describe Account do
it 'configures the account feature flag extension column' do
expect(described_class.flag_columns).to include('feature_flags', 'feature_flags_ext_1')
expect(described_class.flag_mapping['feature_flags_ext_1']).to eq(feature_whatsapp_manual_transfer: 1, feature_data_import: 1 << 1,
feature_api_and_webhooks: 1 << 2)
feature_api_and_webhooks: 1 << 2, feature_delayed_automations: 1 << 3)
expect(described_class.flag_mapping['feature_flags_ext_1'][:feature_whatsapp_manual_transfer]).to eq(1)
expect(described_class.flag_mapping['feature_flags_ext_1'][:feature_data_import]).to eq(2)
end