spec/integration/braintree/dispute_search_spec.rb in braintree-2.100.0 vs spec/integration/braintree/dispute_search_spec.rb in braintree-2.101.0
- old
+ new
@@ -72,10 +72,10 @@
Braintree::Dispute::Reason::ProductUnsatisfactory,
Braintree::Dispute::Reason::Retrieval
]
end
- expect(collection.disputes.count).to eq(2)
+ expect(collection.disputes.count).to be >= 2
dispute = collection.disputes.first
end
it "correctly returns disputes by effective_date range" do
effective_date = transaction.disputes.first.status_history.first.effective_date