From a475113a0dd1f5b5c05f16c08f8b1da003fa8deb Mon Sep 17 00:00:00 2001 From: Saipraveen Gudimetla Date: Fri, 13 Dec 2024 15:34:31 -0500 Subject: [PATCH] fix spec --- spec/models/payment_transaction_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/models/payment_transaction_spec.rb b/spec/models/payment_transaction_spec.rb index 2ec55d17470..79656a72a69 100644 --- a/spec/models/payment_transaction_spec.rb +++ b/spec/models/payment_transaction_spec.rb @@ -42,6 +42,7 @@ context "payment transactions" do it 'should have the indexes' do + PaymentTransaction.create_indexes indexes = PaymentTransaction.collection.indexes.map { |index| index['key'] } expect(indexes).to include({:family_id => 1}) expect(indexes).to include({:status => 1})