test/pagarme/resources/bulk_anticipation_test.rb in pagarme-2.1.4 vs test/pagarme/resources/bulk_anticipation_test.rb in pagarme-2.2.0

- old
+ new

@@ -39,15 +39,15 @@ anticipation = recipient.bulk_anticipate anticipation_params(build: true) assert_equal anticipation.id, anticipation.confirm.id end - should 'create a building anticipation an later delete it' do + should 'create a building anticipation and later delete it' do recipient = PagarMe::Recipient.default anticipation = recipient.bulk_anticipate anticipation_params(build: true) assert_equal anticipation.id, PagarMe::BulkAnticipation.find(recipient.id, anticipation.id).id - PagarMe::BulkAnticipation.delete(recipient.id, anticipation.id).id + PagarMe::BulkAnticipation.delete(recipient.id, anticipation.id) assert_raises PagarMe::NotFound do PagarMe::BulkAnticipation.find recipient.id, anticipation.id end anticipation = recipient.bulk_anticipate anticipation_params(build: true)