Skip to content

Commit

Permalink
fix spec
Browse files Browse the repository at this point in the history
  • Loading branch information
saipraveen18 committed Dec 13, 2024
1 parent b3851be commit a475113
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/models/payment_transaction_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down

0 comments on commit a475113

Please sign in to comment.