fix: correct feature_flags_ext_1 bit expectation in account spec

This commit is contained in:
Shivam Mishra
2026-07-13 14:05:10 +05:30
parent 1324702511
commit 2adf19caf9
+1 -1
View File
@@ -108,7 +108,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_api_and_webhooks: 1)
expect(described_class.flag_mapping['feature_flags_ext_1']).to eq(feature_whatsapp_manual_transfer: 1, feature_api_and_webhooks: 1 << 1)
end
it 'keeps existing feature flags on the original column' do