test/pagarme/resources/bulk_anticipation_test.rb in pagarme-2.1.2 vs test/pagarme/resources/bulk_anticipation_test.rb in pagarme-2.1.3
- old
+ new
@@ -1,11 +1,12 @@
require_relative '../../test_helper'
module PagarMe
- class BulkAnticipationTest < Test::Unit::TestCase
+ class BulkAnticipationTest < PagarMeTestCase
def setup
super
+ ensure_anticipable_default_recipient
ensure_waiting_funds
end
should 'be able to calculate anticipations limits' do
assert_anticipation_limits PagarMe::Recipient.default.bulk_anticipations_limits(anticipations_limits_params)